diff options
| author | Jason Evans <jasone@canonware.com> | 2016-11-17 18:24:51 (GMT) |
|---|---|---|
| committer | Jason Evans <jasone@canonware.com> | 2016-11-17 18:37:48 (GMT) |
| commit | 62f2d84e7aebaa25df32a0ae882cc856e5218687 (patch) | |
| tree | 5a07f5969ccc5b761f6f00c3b928a9acb52a8a18 /src/jemalloc_cpp.cpp | |
| parent | e7ca53bac2dbd281779b431b6ab29e9c39984256 (diff) | |
| download | jemalloc-62f2d84e7aebaa25df32a0ae882cc856e5218687.zip jemalloc-62f2d84e7aebaa25df32a0ae882cc856e5218687.tar.gz jemalloc-62f2d84e7aebaa25df32a0ae882cc856e5218687.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 'src/jemalloc_cpp.cpp')
0 files changed, 0 insertions, 0 deletions
