Re: [MERGE] Split MemPool.cc into framework and allocators

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sat, 29 May 2010 15:17:42 +1200

Henrik Nordström wrote:
> Version 4. Blank out memory chunk statistics when not using chunked
> allocator and update configure.in to match.
>
>
> This change splits MemPool.cc into framework and specific allocators
>
> MemPool.cc general framework
> MemPoolChunked.cc chunked allocator
> MemPoolMalloc.cc malloc based allocator with freelist
>
> This also fixes some statistics bugs. There was some bad oddness there
> with a bit of confusion between allocator local counters and MemMeter
> counters, plus total confusion between allocation and saved allocation.
>
> Regards
> Henrik
>

Also needs release notes update for added option
--enable-chunkedmempools and removed option --enable-mempools.

+0. The small bit about stats output looks right AFAICT.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.3
Received on Sat May 29 2010 - 03:17:53 MDT

This archive was generated by hypermail 2.2.0 : Sun May 30 2010 - 12:00:13 MDT