diff options
author | jasone <jasone@FreeBSD.org> | 2007-03-28 19:55:07 +0000 |
---|---|---|
committer | jasone <jasone@FreeBSD.org> | 2007-03-28 19:55:07 +0000 |
commit | ca1ed8272e844b0b0e686997b902319bd9398957 (patch) | |
tree | 56d33b56d95c1c7e0228c7a5fbde808b12f09d23 /sys/boot/arm | |
parent | 445e81a21986bac6211f59f2868a7fc9535476e1 (diff) | |
download | FreeBSD-src-ca1ed8272e844b0b0e686997b902319bd9398957.zip FreeBSD-src-ca1ed8272e844b0b0e686997b902319bd9398957.tar.gz |
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.
Diffstat (limited to 'sys/boot/arm')
0 files changed, 0 insertions, 0 deletions