]> git.ipfire.org Git - thirdparty/squid.git/commit - src/MemStore.h
Mem-cache entries exceeding one shared memory page in size, using
authorAlex Rousskov <rousskov@measurement-factory.com>
Sun, 20 Jan 2013 02:07:24 +0000 (19:07 -0700)
committerAlex Rousskov <rousskov@measurement-factory.com>
Sun, 20 Jan 2013 02:07:24 +0000 (19:07 -0700)
commit06684a9b0d5a2a44c1ca83fe702068adb890fb9a
tree5eaca7a67b67f5237d9257f8b3cb48d9ec7fde24
parentd26fb333ef360c3c9aa86c6726a2b58b7d5bf7fc
Mem-cache entries exceeding one shared memory page in size, using
Ipc::StoreMap that now supports multi-slice entries. For the memory cache,
each slice corresponds to a shared memory page. Added a shared memory stack of
free slices. Many aspects of the implementation are similar to Rock Store.

Do not mem-cache entries that are already mem-cached at the time of keep()
call. This change is unrelated to multi-slice caching, but may provide a
noticeable performance boost.
src/MemStore.cc
src/MemStore.h