summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchs <chs@NetBSD.org>2012-11-13 14:10:24 +0000
committerchs <chs@NetBSD.org>2012-11-13 14:10:24 +0000
commit7bd853c3891ed9d325b93607d644769d613b66ea (patch)
treee675560734dfd3e88c81aacae925451b282e8b54
parent8f21a70bce69c2b274f914564255e09cc52e7307 (diff)
bump VM_PHYSSEG_MAX to 32, we've seen a system where 16 wasn't enough.
-rw-r--r--sys/arch/amd64/include/vmparam.h4
-rw-r--r--sys/arch/i386/include/vmparam.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/amd64/include/vmparam.h b/sys/arch/amd64/include/vmparam.h
index a0cae7b3863..3abd0b435c6 100644
--- a/sys/arch/amd64/include/vmparam.h
+++ b/sys/arch/amd64/include/vmparam.h
@@ -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 --git a/sys/arch/i386/include/vmparam.h b/sys/arch/i386/include/vmparam.h
index 9a50c9c385d..1a4042c0c61 100644
--- a/sys/arch/i386/include/vmparam.h
+++ b/sys/arch/i386/include/vmparam.h
@@ -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 */