Module Name:    src
Committed By:   mrg
Date:           Sun Sep 23 22:31:39 UTC 2012

Modified Files:
        src/sys/arch/macppc/include: param.h
        src/sys/arch/powerpc/include: param.h

Log Message:
increase powerpc NKMEMPAGES_MAX_DEFAULT to 256MB.  remove the macppc
overrides that are now the same as the powerpc default.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/macppc/include/param.h
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/powerpc/include/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/macppc/include/param.h
diff -u src/sys/arch/macppc/include/param.h:1.19 src/sys/arch/macppc/include/param.h:1.20
--- src/sys/arch/macppc/include/param.h:1.19	Fri Feb 10 17:35:48 2012
+++ src/sys/arch/macppc/include/param.h	Sun Sep 23 22:31:38 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: param.h,v 1.19 2012/02/10 17:35:48 para Exp $	*/
+/*	$NetBSD: param.h,v 1.20 2012/09/23 22:31:38 mrg Exp $	*/
 
 /*-
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -46,13 +46,6 @@
 #define	MSGBUFSIZE		(3*NBPG)
 #endif
 
-/*
- * Minimum and maximum sizes of the kernel malloc arena in PAGE_SIZE-sized
- * logical pages.
- */
-#define	NKMEMPAGES_MIN_DEFAULT		((16 * 1024 * 1024) >> PAGE_SHIFT)
-#define	NKMEMPAGES_MAX_DEFAULT		((256 * 1024 * 1024) >> PAGE_SHIFT)
-
 #endif /* _KERNEL && !_MODULE */
 
 /* at this offset we mmap() the PCI IO range in display drivers */

Index: src/sys/arch/powerpc/include/param.h
diff -u src/sys/arch/powerpc/include/param.h:1.27 src/sys/arch/powerpc/include/param.h:1.28
--- src/sys/arch/powerpc/include/param.h:1.27	Mon Jan 30 06:04:32 2012
+++ src/sys/arch/powerpc/include/param.h	Sun Sep 23 22:31:39 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: param.h,v 1.27 2012/01/30 06:04:32 matt Exp $	*/
+/*	$NetBSD: param.h,v 1.28 2012/09/23 22:31:39 mrg Exp $	*/
 
 /*-
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -110,7 +110,7 @@
 #define	NKMEMPAGES_MIN_DEFAULT	((16 * 1024 * 1024) >> PAGE_SHIFT)
 #endif
 #ifndef NKMEMPAGES_MAX_DEFAULT
-#define	NKMEMPAGES_MAX_DEFAULT	((128 * 1024 * 1024) >> PAGE_SHIFT)
+#define	NKMEMPAGES_MAX_DEFAULT	((256 * 1024 * 1024) >> PAGE_SHIFT)
 #endif
 
 #if defined(_KERNEL) && !defined(_LOCORE)

Reply via email to