Source-Changes-HG archive

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

[src/trunk]: src/sys/arch bump VM_PHYSSEG_MAX to 32, we've seen a system wher...



details:   https://anonhg.NetBSD.org/src/rev/1c00976d914d
branches:  trunk
changeset: 782671:1c00976d914d
user:      chs <chs%NetBSD.org@localhost>
date:      Tue Nov 13 14:10:24 2012 +0000

description:
bump VM_PHYSSEG_MAX to 32, we've seen a system where 16 wasn't enough.

diffstat:

 sys/arch/amd64/include/vmparam.h |  4 ++--
 sys/arch/i386/include/vmparam.h  |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r e328d1d5c1e6 -r 1c00976d914d sys/arch/amd64/include/vmparam.h
--- a/sys/arch/amd64/include/vmparam.h  Tue Nov 13 14:09:58 2012 +0000
+++ b/sys/arch/amd64/include/vmparam.h  Tue Nov 13 14:10:24 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.31 2012/08/15 08:09:57 sborrill Exp $    */
+/*     $NetBSD: vmparam.h,v 1.32 2012/11/13 14:10:24 chs Exp $ */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -148,7 +148,7 @@
 /* virtual sizes (bytes) for various kernel submaps */
 #define VM_PHYS_SIZE           (USRIOSIZE*PAGE_SIZE)
 
-#define VM_PHYSSEG_MAX         16      /* 1 "hole" + 15 free lists */
+#define VM_PHYSSEG_MAX         32      /* 1 "hole" + 31 free lists */
 #define VM_PHYSSEG_STRAT       VM_PSTRAT_BIGFIRST
 
 #define        VM_NFREELIST            3
diff -r e328d1d5c1e6 -r 1c00976d914d sys/arch/i386/include/vmparam.h
--- a/sys/arch/i386/include/vmparam.h   Tue Nov 13 14:09:58 2012 +0000
+++ b/sys/arch/i386/include/vmparam.h   Tue Nov 13 14:10:24 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.75 2012/08/15 08:10:28 sborrill Exp $    */
+/*     $NetBSD: vmparam.h,v 1.76 2012/11/13 14:10:24 chs Exp $ */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -127,7 +127,7 @@
 #define        VM_PHYSSEG_MAX          1
 #define        VM_NFREELIST            1
 #else
-#define        VM_PHYSSEG_MAX          16      /* 1 "hole" + 15 free lists */
+#define        VM_PHYSSEG_MAX          32      /* 1 "hole" + 31 free lists */
 #define        VM_NFREELIST            2
 #define        VM_FREELIST_FIRST16     1
 #endif /* XEN */



Home | Main Index | Thread Index | Old Index