diff options
| author | Jason Evans <je@facebook.com> | 2010-03-22 18:45:01 (GMT) |
|---|---|---|
| committer | Jason Evans <je@facebook.com> | 2010-03-22 18:45:01 (GMT) |
| commit | c03a63d68df9ddbb80f997d8be7bc04e5f3d53eb (patch) | |
| tree | b52b456ae742867e533e461d1a08183b9384953b /test/aligned_alloc.c | |
| parent | 19b3d618924b3542a264612f906bc53bbcec8b70 (diff) | |
| download | jemalloc-c03a63d68df9ddbb80f997d8be7bc04e5f3d53eb.zip jemalloc-c03a63d68df9ddbb80f997d8be7bc04e5f3d53eb.tar.gz jemalloc-c03a63d68df9ddbb80f997d8be7bc04e5f3d53eb.tar.bz2 | |
Set/clear CHUNK_MAP_ZEROED in arena_chunk_purge().
Properly set/clear CHUNK_MAP_ZEROED for all purged pages, according to
whether the pages are (potentially) file-backed or anonymous. This was
merely a performance pessimization for the anonymous mapping case, but
was a calloc()-related bug for the swap_enabled case.
Diffstat (limited to 'test/aligned_alloc.c')
0 files changed, 0 insertions, 0 deletions
