commit | c03a63d68df9ddbb80f997d8be7bc04e5f3d53eb | [log] [tgz] |
---|---|---|
author | Jason Evans <je@facebook.com> | Mon Mar 22 11:45:01 2010 -0700 |
committer | Jason Evans <je@facebook.com> | Mon Mar 22 11:45:01 2010 -0700 |
tree | b52b456ae742867e533e461d1a08183b9384953b | |
parent | 19b3d618924b3542a264612f906bc53bbcec8b70 [diff] |
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.