Source-Changes-HG archive

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

[src/netbsd-9]: src/sys/arch/arm/include/arm32 Pull up following revision(s) ...



details:   https://anonhg.NetBSD.org/src/rev/d4f77e9ea0a7
branches:  netbsd-9
changeset: 934231:d4f77e9ea0a7
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Jun 07 19:06:22 2020 +0000

description:
Pull up following revision(s) (requested by skrll in ticket #951):

        sys/arch/arm/include/arm32/param.h: revision 1.30

Bump the amount of KMEM allowed to 1/3rd of KVM.  _ARCH_ARM_6 has a split
of 2:2 and others have a split of 3:1.

Tested by martin@  Thanks

diffstat:

 sys/arch/arm/include/arm32/param.h |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r eb947a4b76f4 -r d4f77e9ea0a7 sys/arch/arm/include/arm32/param.h
--- a/sys/arch/arm/include/arm32/param.h        Sun Jun 07 19:04:00 2020 +0000
+++ b/sys/arch/arm/include/arm32/param.h        Sun Jun 07 19:06:22 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.27 2019/06/19 09:53:39 skrll Exp $ */
+/*     $NetBSD: param.h,v 1.27.2.1 2020/06/07 19:06:22 martin Exp $    */
 
 /*
  * Copyright (c) 1994,1995 Mark Brinicombe.
@@ -70,7 +70,12 @@
  * logical pages.
  */
 #define        NKMEMPAGES_MIN_DEFAULT  ((8 * 1024 * 1024) >> PAGE_SHIFT)
-#define        NKMEMPAGES_MAX_DEFAULT  ((128 * 1024 * 1024) >> PAGE_SHIFT)
+
+#if defined(_ARM_ARCH_6)
+#define        NKMEMPAGES_MAX_DEFAULT  ((768 * 1024 * 1024) >> PAGE_SHIFT)
+#else
+#define        NKMEMPAGES_MAX_DEFAULT  ((256 * 1024 * 1024) >> PAGE_SHIFT)
+#endif
 
 /* Constants used to divide the USPACE area */
 



Home | Main Index | Thread Index | Old Index