summaryrefslogtreecommitdiffstats
path: root/test/integration/cpp/basic.cpp
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2016-11-17 18:24:51 (GMT)
committerJason Evans <jasone@canonware.com>2016-11-17 18:31:57 (GMT)
commita64123ce13545ef57a36285cc9d33978e59fc3da (patch)
tree7ba28f07b1ffe9622f101f0c9d0d814f05f9bdcd /test/integration/cpp/basic.cpp
parentf7ca1c9bc321feffe056f5d154c287f63e324020 (diff)
downloadjemalloc-a64123ce13545ef57a36285cc9d33978e59fc3da.zip
jemalloc-a64123ce13545ef57a36285cc9d33978e59fc3da.tar.gz
jemalloc-a64123ce13545ef57a36285cc9d33978e59fc3da.tar.bz2
Refactor madvise(2) configuration.
Add feature tests for the MADV_FREE and MADV_DONTNEED flags to madvise(2), so that MADV_FREE is detected and used for Linux kernel versions 4.5 and newer. Refactor pages_purge() so that on systems which support both flags, MADV_FREE is preferred over MADV_DONTNEED. This resolves #387.
Diffstat (limited to 'test/integration/cpp/basic.cpp')
0 files changed, 0 insertions, 0 deletions