From: Henrik Nordstrom Date: Sat, 29 May 2010 22:02:54 +0000 (+0200) Subject: Rework memory pools X-Git-Tag: SQUID_3_2_0_1~179 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=91a15a75793325944e289295e2ccf965830791c9;p=thirdparty%2Fsquid.git Rework memory pools - Default to the old simple non-chunked pool type using malloc with a simple freelist per pool. - Various statistics & cachemgr Memory Utilization fixes - Source reorganisation to split pool implementations from the general framework. Allocators now in MemPoolChunked.cc and MemPoolMalloc.cc, with general framework & statistics in MemPool.cc. The chunked allocator is still available and can be activated by setting the environment variable MEMPOOLS=1 but the default is now the non-chunked allocator which has been fixed to account allocations properly for statistics and also maintain a simple freelist to cache allocations. No squid.conf changes, other than that the memory_pools and memory_pools_limit directives now works as intended (not possible with the chunked allocator). --- 91a15a75793325944e289295e2ccf965830791c9