Source-Changes-HG archive

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

[src/trunk]: src/sys/arch increase powerpc NKMEMPAGES_MAX_DEFAULT to 256MB. ...



details:   https://anonhg.NetBSD.org/src/rev/4b89d197ccf7
branches:  trunk
changeset: 781710:4b89d197ccf7
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Sep 23 22:31:38 2012 +0000

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

diffstat:

 sys/arch/macppc/include/param.h  |  9 +--------
 sys/arch/powerpc/include/param.h |  4 ++--
 2 files changed, 3 insertions(+), 10 deletions(-)

diffs (41 lines):

diff -r 09065a691d21 -r 4b89d197ccf7 sys/arch/macppc/include/param.h
--- a/sys/arch/macppc/include/param.h   Sun Sep 23 19:20:44 2012 +0000
+++ b/sys/arch/macppc/include/param.h   Sun Sep 23 22:31:38 2012 +0000
@@ -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 */
diff -r 09065a691d21 -r 4b89d197ccf7 sys/arch/powerpc/include/param.h
--- a/sys/arch/powerpc/include/param.h  Sun Sep 23 19:20:44 2012 +0000
+++ b/sys/arch/powerpc/include/param.h  Sun Sep 23 22:31:38 2012 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index