]> git.ipfire.org Git - thirdparty/squid.git/commit - src/mem_node.h
Bug #2114: cache memory accounting not working well
authorhno <>
Thu, 27 Dec 2007 08:58:19 +0000 (08:58 +0000)
committerhno <>
Thu, 27 Dec 2007 08:58:19 +0000 (08:58 +0000)
commit2415e2023d5b5e99c65cfe4794819489f9f81511
tree48644911fb93ae4aee3c4b33d4dd073704319380
parent0c8a9718b41ebc2e092964bc386b2bee9f97bb11
Bug #2114: cache memory accounting not working well

Use the page allocator statistics to report cache_mem usage

This patch removes the weak attempt in keeping an byte-exact cache_mem usage
counter, instead using the actual allocated size (but excluding overhead).

This is the same accounting method as used in Squid-2 btw..
src/mem_node.cc
src/mem_node.h
src/snmp_agent.cc
src/stat.cc
src/stmem.cc