File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
include_linux_aarch64/jemalloc/internal
include_linux_x86_64/jemalloc/internal Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 279279 * MADV_FREE, though typically with higher
280280 * system overhead.
281281 */
282+ #if defined(__linux__ )
282283#define JEMALLOC_PURGE_MADVISE_FREE
284+ #else
283285#define JEMALLOC_PURGE_MADVISE_DONTNEED
284- #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS
286+ #endif
285287
286288/* Defined if madvise(2) is available but MADV_FREE is not (x86 Linux only). */
287289/* #undef JEMALLOC_DEFINE_MADVISE_FREE */
Original file line number Diff line number Diff line change 279279 * MADV_FREE, though typically with higher
280280 * system overhead.
281281 */
282+ #if defined(__linux__ )
282283#define JEMALLOC_PURGE_MADVISE_FREE
284+ #else
283285#define JEMALLOC_PURGE_MADVISE_DONTNEED
284- #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS
286+ #endif
285287
286288/* Defined if madvise(2) is available but MADV_FREE is not (x86 Linux only). */
287289/* #undef JEMALLOC_DEFINE_MADVISE_FREE */
You can’t perform that action at this time.
0 commit comments