]> git.ipfire.org Git - thirdparty/squid.git/commit
Bugzilla #184: storeDiskdShmGet() assertion
authorwessels <>
Tue, 10 Jul 2001 21:35:45 +0000 (21:35 +0000)
committerwessels <>
Tue, 10 Jul 2001 21:35:45 +0000 (21:35 +0000)
commitab848be4999b79429b92f2f5400a77d9cc103ea8
treee6074b7949ec87c5635b34bd9cba3866a801a440
parent46d04b2547647347dc77b5b5e252465c3a4dbdce
Bugzilla #184: storeDiskdShmGet() assertion

This patch changes the mechanism for keeping track of unused shared
memory chunks.   Instead of using a linked list, now we'll use a
bitmap.  It should eliminate the problems I'm seeing on Alphas
where the linklist->ptr value has bit #33 mysteriously set.  In
the new scheme, the shm chunk pointer is always recalculated based
on the index of the bitmap.
src/fs/diskd/store_dir_diskd.cc
src/fs/diskd/store_diskd.h