Disable JEMALLOC_HAVE_MADVISE_HUGE for arm* CPUs.
This commit is contained in:
parent
72bdbc35e3
commit
433c2edabc
@ -1863,9 +1863,15 @@ if test "x${je_cv_madvise}" = "xyes" ; then
|
|||||||
madvise((void *)0, 0, MADV_HUGEPAGE);
|
madvise((void *)0, 0, MADV_HUGEPAGE);
|
||||||
madvise((void *)0, 0, MADV_NOHUGEPAGE);
|
madvise((void *)0, 0, MADV_NOHUGEPAGE);
|
||||||
], [je_cv_thp])
|
], [je_cv_thp])
|
||||||
|
case "${host_cpu}" in
|
||||||
|
arm*)
|
||||||
|
;;
|
||||||
|
*)
|
||||||
if test "x${je_cv_thp}" = "xyes" ; then
|
if test "x${je_cv_thp}" = "xyes" ; then
|
||||||
AC_DEFINE([JEMALLOC_HAVE_MADVISE_HUGE], [ ])
|
AC_DEFINE([JEMALLOC_HAVE_MADVISE_HUGE], [ ])
|
||||||
fi
|
fi
|
||||||
|
;;
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl Enable transparent huge page support by default.
|
dnl Enable transparent huge page support by default.
|
||||||
|
Loading…
Reference in New Issue
Block a user