Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk Switch i386 and aarch64 to jemalloc (really I could...



details:   https://anonhg.NetBSD.org/src/rev/66cf12963b56
branches:  trunk
changeset: 997483:66cf12963b56
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Mar 09 17:59:28 2019 +0000

description:
Switch i386 and aarch64 to jemalloc (really I could switch everyone at this
point).

diffstat:

 share/mk/bsd.own.mk |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r d0feb1c3e101 -r 66cf12963b56 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Sat Mar 09 16:18:37 2019 +0000
+++ b/share/mk/bsd.own.mk       Sat Mar 09 17:59:28 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.own.mk,v 1.1108 2019/03/08 20:35:10 christos Exp $
+#      $NetBSD: bsd.own.mk,v 1.1109 2019/03/09 17:59:28 christos Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -172,7 +172,9 @@
 # What version of jemalloc we use (100 is the one
 # built-in to libc from 2005 (pre version 3).
 #
-.if ${MACHINE_CPU} == "x86_64"
+.if ${MACHINE_CPU} == "x86_64" || \
+    ${MACHINE_CPU} == "i386"   || \
+    ${MACHINE_CPU} == "aarch64"        
 HAVE_JEMALLOC?=                510
 .else
 HAVE_JEMALLOC?=                100



Home | Main Index | Thread Index | Old Index