diff options
author | Jason Evans <jasone@canonware.com> | 2015-02-18 06:25:56 (GMT) |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2015-02-18 06:25:56 (GMT) |
commit | 339c2b23b2d61993ac768afcc72af135662c6771 (patch) | |
tree | 7c4592a08594b2f927fde30b478b9c84e253a55d /src/chunk_dss.c | |
parent | 47701b22ee7c0df5e99efa0fcdcf98b9ff805b59 (diff) | |
download | jemalloc-339c2b23b2d61993ac768afcc72af135662c6771.zip jemalloc-339c2b23b2d61993ac768afcc72af135662c6771.tar.gz jemalloc-339c2b23b2d61993ac768afcc72af135662c6771.tar.bz2 |
Fix chunk_unmap() to propagate dirty state.
Fix chunk_unmap() to propagate whether a chunk is dirty, and modify
dirty chunk purging to record this information so it can be passed to
chunk_unmap(). Since the broken version of chunk_unmap() claimed that
all chunks were clean, this resulted in potential memory corruption for
purging implementations that do not zero (e.g. MADV_FREE).
This regression was introduced by
ee41ad409a43d12900a5a3108f6c14f84e4eb0eb (Integrate whole chunks into
unused dirty page purging machinery.).
Diffstat (limited to 'src/chunk_dss.c')
0 files changed, 0 insertions, 0 deletions