mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-14 22:51:50 +03:00
Use LG_SIZE=16 by default for aarch64-linux-gnu - 64K and 16K page sizes should be supported out of the box.
This commit is contained in:
parent
37bf846cc3
commit
4d8356c855
1 changed files with 7 additions and 0 deletions
|
|
@ -1911,6 +1911,13 @@ case "${host}" in
|
|||
LG_PAGE=14
|
||||
fi
|
||||
;;
|
||||
aarch64-linux-gnu*)
|
||||
dnl When cross-compile for 64 bit Arm64, use memory granularity of 64K to ensure
|
||||
dnl that 64K and 16K kernel sizes (default for many distros) function al all.
|
||||
if test "x${host}" != "x${build}" -a "x$LG_PAGE" = "xdetect"; then
|
||||
LG_PAGE=16
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
if test "x$LG_PAGE" = "xdetect"; then
|
||||
AC_CACHE_CHECK([LG_PAGE],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue