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

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sat, 29 May 2010 15:06:00 +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
>

This is the bit intended for 3.2+ right?

If so could it include the moving of memory files from include/* and
lib/* to into src/mem/libmem.la?
  That would help clear away an important part of the SourceLayout TODO
list and several code dependencies.

Amos

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

This archive was generated by hypermail 2.2.0 : Sat May 29 2010 - 12:00:12 MDT