Even more slab allocator updates.
authorMichael Poole <mdpoole@troilus.org>
Sat, 5 Feb 2005 03:52:51 +0000 (03:52 +0000)
committerMichael Poole <mdpoole@troilus.org>
Sat, 5 Feb 2005 03:52:51 +0000 (03:52 +0000)
commit4303ae75205bacb099348b0f108b81e19c841498
treeee13731f371009543b4e2de6a7f0366d440a2ed9
parentd06729d5aea6b91b675ab3e982b27c282dc47801
Even more slab allocator updates.

src/slab-alloc.c (SLAB_DEBUG): Default to on.
(SMALL_CUTOFF): Fix default value (must be a multiple of 4).
(slab_unalloc): Fix slab counting.  When SLAB_RESERVE, allocate the
set of pages in a burst, rather than supplementing them as we unmap.
(slab_realloc): Fix a rather embarassing (and LARGE) memory leak.
git-archimport-id: srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-14
ChangeLog
src/alloc-slab.c