diff --git a/jemalloc.changes b/jemalloc.changes index de1a490..d1950a9 100644 --- a/jemalloc.changes +++ b/jemalloc.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 25 09:30:08 UTC 2022 - Guillaume GARDET + +- Set lg-page to 2^16 on aarch64 to be compatible with 64k + page size kernel - https://github.com/jemalloc/jemalloc/pull/769 + ------------------------------------------------------------------- Mon Nov 23 10:23:39 UTC 2020 - Martin Liška diff --git a/jemalloc.spec b/jemalloc.spec index 497ea19..3d7b81a 100644 --- a/jemalloc.spec +++ b/jemalloc.spec @@ -56,7 +56,11 @@ implementation. %build export EXTRA_CFLAGS="%optflags -std=gnu99" +# AArch64: Set lg-page to 2^16 to be compatible with 64k kernels - https://github.com/jemalloc/jemalloc/pull/769 %configure --disable-static --enable-prof \ +%ifarch aarch64 + --with-lg-page=16 \ +%endif %ifarch %arm --disable-thp %endif