diff options
author | Jason Evans <je@fb.com> | 2012-10-09 00:56:11 (GMT) |
---|---|---|
committer | Jason Evans <je@fb.com> | 2012-10-09 01:04:49 (GMT) |
commit | 7de92767c20cb72c94609b9c78985526fb84a679 (patch) | |
tree | 6e6aab107b7d77d575b130b7074824da5f2df234 /include/jemalloc/internal/ctl.h | |
parent | f4c3f8545beed9f7e606cef7b1d06fae3f630269 (diff) | |
download | jemalloc-7de92767c20cb72c94609b9c78985526fb84a679.zip jemalloc-7de92767c20cb72c94609b9c78985526fb84a679.tar.gz jemalloc-7de92767c20cb72c94609b9c78985526fb84a679.tar.bz2 |
Fix mlockall()/madvise() interaction.
mlockall(2) can cause purging via madvise(2) to fail. Fix purging code
to check whether madvise() succeeded, and base zeroed page metadata on
the result.
Reported by Olivier Lecomte.
Diffstat (limited to 'include/jemalloc/internal/ctl.h')
0 files changed, 0 insertions, 0 deletions