Source-Changes-HG archive

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

[src/netbsd-6]: src/sys/arch Pull up following revision(s) (requested by mrg ...



details:   https://anonhg.NetBSD.org/src/rev/ff9593addb61
branches:  netbsd-6
changeset: 774626:ff9593addb61
user:      riz <riz%NetBSD.org@localhost>
date:      Mon Oct 01 17:51:14 2012 +0000

description:
Pull up following revision(s) (requested by mrg in ticket #575):
        sys/arch/powerpc/include/param.h: revision 1.28
        sys/arch/macppc/include/param.h: revision 1.20
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 01126253e21e -r ff9593addb61 sys/arch/macppc/include/param.h
--- a/sys/arch/macppc/include/param.h   Mon Oct 01 17:47:17 2012 +0000
+++ b/sys/arch/macppc/include/param.h   Mon Oct 01 17:51:14 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.19.2.1 2012/10/01 17:51:14 riz 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 01126253e21e -r ff9593addb61 sys/arch/powerpc/include/param.h
--- a/sys/arch/powerpc/include/param.h  Mon Oct 01 17:47:17 2012 +0000
+++ b/sys/arch/powerpc/include/param.h  Mon Oct 01 17:51:14 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.27.2.1 2012/10/01 17:51:14 riz 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