Skip to content
Commit c03a63d6 authored by Jason Evans's avatar Jason Evans
Browse files

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.
parent 19b3d618
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment