From ba953eb6ac6add226b2c8150a9726053b06353cb Mon Sep 17 00:00:00 2001 From: jackpoz Date: Wed, 29 Nov 2017 09:24:55 +0100 Subject: [PATCH] Dep/Jemalloc: Temporarily disable MADV_FREE Temporarily disable MADV_FREE until CMake file is modified to check if MADV_FREE is available on the current system. This fixes the build on older systems. (cherry picked from commit 0f6feb828baf17522a001eddb51495f5ad397444) --- dep/jemalloc/jemalloc_internal_defs.h.in.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dep/jemalloc/jemalloc_internal_defs.h.in.cmake b/dep/jemalloc/jemalloc_internal_defs.h.in.cmake index 214435283d6..5af111726be 100644 --- a/dep/jemalloc/jemalloc_internal_defs.h.in.cmake +++ b/dep/jemalloc/jemalloc_internal_defs.h.in.cmake @@ -268,7 +268,7 @@ * MADV_FREE, though typically with higher * system overhead. */ -#define JEMALLOC_PURGE_MADVISE_FREE +/*#define JEMALLOC_PURGE_MADVISE_FREE*/ #define JEMALLOC_PURGE_MADVISE_DONTNEED #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS 1