summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_aio.c
diff options
context:
space:
mode:
authorjasone <jasone@FreeBSD.org>2006-03-24 00:28:08 +0000
committerjasone <jasone@FreeBSD.org>2006-03-24 00:28:08 +0000
commitc5cf5122a1e3f22157d6f17431f244e0d307ee4b (patch)
tree2179caa8f1dfe1cb1979ae14a8de986d1fb21fb8 /sys/kern/vfs_aio.c
parent81ed88b306e130fbe70d91da4ffdddffb2b018a8 (diff)
downloadFreeBSD-src-c5cf5122a1e3f22157d6f17431f244e0d307ee4b.zip
FreeBSD-src-c5cf5122a1e3f22157d6f17431f244e0d307ee4b.tar.gz
Add USE_BRK-specific code in malloc_init_hard() to allow the first
internally used chunk to start at the beginning of the heap, rather than at a chunk-aligned address. This reduces mapped memory somewhat for 32-bit architectures. Add the arena_run_link_t type and use it wherever a run object is only used as a ring 'header'. This saves approximately 40 kB of memory per arena. Remove an obsolete (no longer used) code path from base_alloc(), which supported the internal allocation of objects larger than the chunk size. Enhance chunk_dealloc() to cache chunk addresses for all deallocated chunks. This has no impact for most programs, but has the potential to reduce VM map fragmentation for programs that use huge allocations.
Diffstat (limited to 'sys/kern/vfs_aio.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud