!21 Modify aarch64 architecture jemalloc page size from 4k to 64k
From: @si-gui Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
aba251f941
@ -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
|
||||||
@ -1,6 +1,6 @@
|
|||||||
Name: redis
|
Name: redis
|
||||||
Version: 4.0.11
|
Version: 4.0.11
|
||||||
Release: 10
|
Release: 11
|
||||||
Summary: A persistent key-value database
|
Summary: A persistent key-value database
|
||||||
License: BSD and MIT
|
License: BSD and MIT
|
||||||
URL: https://redis.io
|
URL: https://redis.io
|
||||||
@ -17,7 +17,9 @@ Patch0003: CVE-2020-14147.patch
|
|||||||
Patch0004: improved-HyperLogLog-cardinality-estimation.patch
|
Patch0004: improved-HyperLogLog-cardinality-estimation.patch
|
||||||
Patch0005: Aesthetic-changes-to-PR.patch
|
Patch0005: Aesthetic-changes-to-PR.patch
|
||||||
Patch0006: CVE-2019-10193.patch
|
Patch0006: CVE-2019-10193.patch
|
||||||
|
%ifarch aarch64
|
||||||
|
Patch0007: modify-aarch64-architecture-jemalloc-page-size-from-4k-to-64k.patch
|
||||||
|
%endif
|
||||||
BuildRequires: systemd
|
BuildRequires: systemd
|
||||||
Requires: /bin/awk
|
Requires: /bin/awk
|
||||||
Requires: logrotate
|
Requires: logrotate
|
||||||
@ -88,6 +90,9 @@ exit 0
|
|||||||
%{_unitdir}/%{name}-sentinel.service
|
%{_unitdir}/%{name}-sentinel.service
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Sep 30 2020 Jiapeng Zhang <zhangjiapeng9@huawei.com> - 4.0.11-11
|
||||||
|
- Modify aarch64 architecture jemalloc page size from 4k to 64k
|
||||||
|
|
||||||
* Mon Sep 21 2020 wangyue <wangyue92@huawei.com> - 4.0.11-10
|
* Mon Sep 21 2020 wangyue <wangyue92@huawei.com> - 4.0.11-10
|
||||||
- fix CVE-2019-10193
|
- fix CVE-2019-10193
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user