Jason Evans eaf8d73212 Remove the run promotion/demotion machinery. Replace it with red-black
trees that track all non-full runs for each bin.  Use the red-black
trees to be able to guarantee that each new allocation is placed in the
lowest address available in any non-full run.  This change completes the
transition to allocating from low addresses in order to reduce the
retention of sparsely used chunks.

If the run in current use by a bin becomes empty, deallocate the run
rather than retaining it for later use.  The previous behavior had the
tendency to spread empty runs across multiple chunks, thus preventing
the release of chunks that were completely unused.

Generalize base_chunk_alloc() (and rename it to base_pages_alloc()) to
handle allocation sizes larger than the chunk size, so that it is
possible to support chunk sizes that are smaller than an arena object.

Reduce the minimum chunk size from 64kB to 8kB.

Optimize tracking of addresses for deleted chunks.

Fix a statistics bug for huge allocations.
2007-03-28 19:55:07 +00:00
..
2007-03-24 05:02:16 +00:00
2006-09-17 21:27:35 +00:00
2006-10-09 05:12:54 +00:00
2006-07-27 04:54:03 +00:00
2006-07-27 04:54:03 +00:00
2006-04-13 08:12:31 +00:00
2006-09-17 21:27:35 +00:00
2006-03-16 15:18:17 +00:00
2006-10-28 10:53:39 +00:00
2006-10-20 14:15:42 +00:00
2006-10-21 15:12:36 +00:00
2007-02-15 02:43:14 +00:00
2006-03-23 14:09:21 +00:00
2007-01-20 07:48:10 +00:00