Module Name:    src
Committed By:   martin
Date:           Sun Jun  7 19:06:22 UTC 2020

Modified Files:
        src/sys/arch/arm/include/arm32 [netbsd-9]: param.h

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.27.2.1 src/sys/arch/arm/include/arm32/param.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/arm/include/arm32/param.h
diff -u src/sys/arch/arm/include/arm32/param.h:1.27 src/sys/arch/arm/include/arm32/param.h:1.27.2.1
--- src/sys/arch/arm/include/arm32/param.h:1.27	Wed Jun 19 09:53:39 2019
+++ src/sys/arch/arm/include/arm32/param.h	Sun Jun  7 19:06:22 2020
@@ -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 */
 

Reply via email to