summaryrefslogtreecommitdiffstats
path: root/include/jemalloc/internal/ctl.h
diff options
context:
space:
mode:
authorJason Evans <je@fb.com>2012-10-09 00:56:11 (GMT)
committerJason Evans <je@fb.com>2012-10-09 01:04:49 (GMT)
commit7de92767c20cb72c94609b9c78985526fb84a679 (patch)
tree6e6aab107b7d77d575b130b7074824da5f2df234 /include/jemalloc/internal/ctl.h
parentf4c3f8545beed9f7e606cef7b1d06fae3f630269 (diff)
downloadjemalloc-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