diff options
author | jasone <jasone@FreeBSD.org> | 2010-01-31 23:16:10 +0000 |
---|---|---|
committer | jasone <jasone@FreeBSD.org> | 2010-01-31 23:16:10 +0000 |
commit | 1c0068af90820bd887ab3dde5f948d2036c15dcf (patch) | |
tree | 1d10cb31114fe5ff8f498de5ad3ce913374eee95 /lib/libc/stdlib/realpath.c | |
parent | c08d122e44870d1867ff776fccbb8be2a96120e7 (diff) | |
download | FreeBSD-src-1c0068af90820bd887ab3dde5f948d2036c15dcf.zip FreeBSD-src-1c0068af90820bd887ab3dde5f948d2036c15dcf.tar.gz |
Fix bugs:
* Fix a race in chunk_dealloc_dss().
* Check for allocation failure before zeroing memory in base_calloc().
Merge enhancements from a divergent version of jemalloc:
* Convert thread-specific caching from magazines to an algorithm that is
more tunable, and implement incremental GC.
* Add support for medium size classes, [4KiB..32KiB], 2KiB apart by
default.
* Add dirty page tracking for pages within active small/medium object
runs. This allows malloc to track precisely which pages are in active
use, which makes dirty page purging more effective.
* Base maximum dirty page count on proportion of active memory.
* Use optional zeroing in arena_chunk_alloc() to avoid needless zeroing
of chunks. This is useful in the context of DSS allocation, since a
long-lived application may commonly recycle chunks.
* Increase the default chunk size from 1MiB to 4MiB.
Remove feature:
* Remove the dynamic rebalancing code, since thread caching reduces its
utility.
Diffstat (limited to 'lib/libc/stdlib/realpath.c')
0 files changed, 0 insertions, 0 deletions