]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Enhance arena_chunk_map_t to directly support run coalescing, and use
authorjasone <jasone@FreeBSD.org>
Fri, 18 Jul 2008 19:35:44 +0000 (19:35 +0000)
committerjasone <jasone@FreeBSD.org>
Fri, 18 Jul 2008 19:35:44 +0000 (19:35 +0000)
commit1e148a8be3dad2c22a49c11fc8fc2b1fcad4d26a
tree7d59960746e9a723824b6af7117e705d47df60f3
parentdba03ac26a2a64c583bf97a4d3e3a57443f09fd7
Enhance arena_chunk_map_t to directly support run coalescing, and use
the chunk map instead of red-black trees where possible.  Remove the
red-black trees and node objects that are obsoleted by this change.  The
net result is a ~1-2% memory savings, and a substantial allocation speed
improvement.
lib/libc/stdlib/malloc.c