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 16 from 10. Modern IBM hardw...
details: https://anonhg.NetBSD.org/src/rev/b29ac7450d8b
branches: trunk
changeset: 781014:b29ac7450d8b
user: sborrill <sborrill%NetBSD.org@localhost>
date: Wed Aug 15 08:09:57 2012 +0000
description:
Bump VM_PHYSSEG_MAX to 16 from 10. Modern IBM hardware requires
VM_PHYSSEG_MAX to be turned up to 11 to avoid an early panic.
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 3a44567e083b -r b29ac7450d8b sys/arch/amd64/include/vmparam.h
--- a/sys/arch/amd64/include/vmparam.h Wed Aug 15 06:16:41 2012 +0000
+++ b/sys/arch/amd64/include/vmparam.h Wed Aug 15 08:09:57 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.30 2012/05/07 16:16:44 joerg Exp $ */
+/* $NetBSD: vmparam.h,v 1.31 2012/08/15 08:09:57 sborrill 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 10 /* 1 "hole" + 9 free lists */
+#define VM_PHYSSEG_MAX 16 /* 1 "hole" + 15 free lists */
#define VM_PHYSSEG_STRAT VM_PSTRAT_BIGFIRST
#define VM_NFREELIST 3
diff -r 3a44567e083b -r b29ac7450d8b sys/arch/i386/include/vmparam.h
--- a/sys/arch/i386/include/vmparam.h Wed Aug 15 06:16:41 2012 +0000
+++ b/sys/arch/i386/include/vmparam.h Wed Aug 15 08:09:57 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.74 2012/05/07 16:16:44 joerg Exp $ */
+/* $NetBSD: vmparam.h,v 1.75 2012/08/15 08:10:28 sborrill 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 10 /* 1 "hole" + 9 free lists */
+#define VM_PHYSSEG_MAX 16 /* 1 "hole" + 15 free lists */
#define VM_NFREELIST 2
#define VM_FREELIST_FIRST16 1
#endif /* XEN */
Home |
Main Index |
Thread Index |
Old Index