From 5eaccf3ffc56a70f6a833993494f8b684ef1dcd3b5ab35e0600d32a19407127d Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 25 Feb 2022 10:53:51 +0000 Subject: [PATCH] Accepting request 957544 from home:Guillaume_G:branches:devel:libraries:c_c++ - Set lg-page to 2^16 on aarch64 to be compatible with 64k page size kernel - https://github.com/jemalloc/jemalloc/pull/769 OBS-URL: https://build.opensuse.org/request/show/957544 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jemalloc?expand=0&rev=84 --- jemalloc.changes | 6 ++++++ jemalloc.spec | 4 ++++ 2 files changed, 10 insertions(+) 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