summaryrefslogtreecommitdiff
path: root/modify-aarch64-architecture-jemalloc-page-size-from-4k-to-64k.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 08:41:05 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 08:41:05 +0000
commit4d2e143b15fdc8f316a1eef5a8b1053981f6d256 (patch)
tree10203472e783180b6364499f88ef2906b18b0049 /modify-aarch64-architecture-jemalloc-page-size-from-4k-to-64k.patch
parentd7609b0abb011ea9d856ca663892f0f88d211f78 (diff)
automatic import of redisopeneuler20.03
Diffstat (limited to 'modify-aarch64-architecture-jemalloc-page-size-from-4k-to-64k.patch')
-rw-r--r--modify-aarch64-architecture-jemalloc-page-size-from-4k-to-64k.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/modify-aarch64-architecture-jemalloc-page-size-from-4k-to-64k.patch b/modify-aarch64-architecture-jemalloc-page-size-from-4k-to-64k.patch
new file mode 100644
index 0000000..bedaaca
--- /dev/null
+++ b/modify-aarch64-architecture-jemalloc-page-size-from-4k-to-64k.patch
@@ -0,0 +1,13 @@
+diff --git a/deps/Makefile b/deps/Makefile
+index e148a33..f1855f3 100644
+--- a/deps/Makefile
++++ b/deps/Makefile
+@@ -77,7 +77,7 @@ JEMALLOC_LDFLAGS= $(LDFLAGS)
+
+ jemalloc: .make-prerequisites
+ @printf '%b %b\n' $(MAKECOLOR)MAKE$(ENDCOLOR) $(BINCOLOR)$@$(ENDCOLOR)
+- cd jemalloc && ./configure --with-lg-quantum=3 --with-jemalloc-prefix=je_ --enable-cc-silence CFLAGS="$(JEMALLOC_CFLAGS)" LDFLAGS="$(JEMALLOC_LDFLAGS)"
++ cd jemalloc && ./configure --with-lg-quantum=3 --with-jemalloc-prefix=je_ --enable-cc-silence CFLAGS="$(JEMALLOC_CFLAGS)" LDFLAGS="$(JEMALLOC_LDFLAGS)" --with-lg-page=16
+ cd jemalloc && $(MAKE) CFLAGS="$(JEMALLOC_CFLAGS)" LDFLAGS="$(JEMALLOC_LDFLAGS)" lib/libjemalloc.a
+
+ .PHONY: jemalloc