mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-14 14:41:42 +03:00
Disable JEMALLOC_HAVE_MADVISE_HUGE for arm* CPUs.
This commit is contained in:
parent
72bdbc35e3
commit
433c2edabc
1 changed files with 6 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue