diff options
author | marxin <mliska@suse.cz> | 2018-01-02 10:29:19 +0100 |
---|---|---|
committer | David Goldblatt <davidtgoldblatt@gmail.com> | 2018-01-04 11:13:32 -0800 |
commit | 433c2edabc5c03ae069ac652857c05c673807d0c (patch) | |
tree | 7f266d80ef683d2aadf965d04c7adb3115f0d602 | |
parent | 72bdbc35e3231db91def5f466d41778ee04d7e64 (diff) |
Disable JEMALLOC_HAVE_MADVISE_HUGE for arm* CPUs.
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 7544f57e..9432dc60 100644 --- a/configure.ac +++ b/configure.ac @@ -1863,9 +1863,15 @@ if test "x${je_cv_madvise}" = "xyes" ; then madvise((void *)0, 0, MADV_HUGEPAGE); madvise((void *)0, 0, MADV_NOHUGEPAGE); ], [je_cv_thp]) +case "${host_cpu}" in + arm*) + ;; + *) if test "x${je_cv_thp}" = "xyes" ; then AC_DEFINE([JEMALLOC_HAVE_MADVISE_HUGE], [ ]) fi + ;; +esac fi dnl Enable transparent huge page support by default. |