diff options
| author | Jason Evans <jasone@canonware.com> | 2010-10-16 23:10:40 (GMT) |
|---|---|---|
| committer | Jason Evans <jasone@canonware.com> | 2010-10-16 23:19:10 (GMT) |
| commit | 397e5111b5efd49f61f73c1bad0375c7885a6128 (patch) | |
| tree | 173e712b4c407bb5a87ea7c08c34789c4214762c /test/integration/aligned_alloc.c | |
| parent | 004ed142a66529ecf4a55e8f4fa42ff2e535f586 (diff) | |
| download | jemalloc-397e5111b5efd49f61f73c1bad0375c7885a6128.zip jemalloc-397e5111b5efd49f61f73c1bad0375c7885a6128.tar.gz jemalloc-397e5111b5efd49f61f73c1bad0375c7885a6128.tar.bz2 | |
Preserve CHUNK_MAP_UNZEROED for small runs.
Preserve CHUNK_MAP_UNZEROED when allocating small runs, because it is
possible that untouched pages will be returned to the tree of clean
runs, where the CHUNK_MAP_UNZEROED flag matters. Prior to the
conversion from CHUNK_MAP_ZEROED, this was already a bug, but in the
worst case extra zeroing occurred. After the conversion, this bug made
it possible to incorrectly treat pages as pre-zeroed.
Diffstat (limited to 'test/integration/aligned_alloc.c')
0 files changed, 0 insertions, 0 deletions
