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/d74cb6609458
branches:  netbsd-9
changeset: 963935:d74cb6609458
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 ba6b57a73a97 -r d74cb6609458 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