summaryrefslogtreecommitdiff
path: root/sys/uvm
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2005-02-19 17:58:04 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2005-02-19 17:58:04 +0000
commita5bc478b504c93a40ea27226ab5428817d4a6c89 (patch)
treed7c450fe4121075080f4f6cd0157329b20773840 /sys/uvm
parentf6758eeb865a07b0259b71a04dd9569b21c4a4a2 (diff)
double default MAX_KMAPENT to 2000, theo ok
everybody please update your trees and test this, we need to find out wether there is bad side-effects from the doubling. If this does not get enough testing by our user community we will play safe and revert this for the 3.7 release, so please test.
Diffstat (limited to 'sys/uvm')
-rw-r--r--sys/uvm/uvm_map.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/uvm/uvm_map.h b/sys/uvm/uvm_map.h
index 97e23a3d830..4231459f1c2 100644
--- a/sys/uvm/uvm_map.h
+++ b/sys/uvm/uvm_map.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_map.h,v 1.29 2003/04/14 04:53:51 art Exp $ */
+/* $OpenBSD: uvm_map.h,v 1.30 2005/02/19 17:58:03 henning Exp $ */
/* $NetBSD: uvm_map.h,v 1.24 2001/02/18 21:19:08 chs Exp $ */
/*
@@ -246,10 +246,10 @@ struct vm_map {
/* XXX: number of kernel maps and entries to statically allocate */
#if !defined(MAX_KMAPENT)
-#if (50 + (2 * NPROC) > 1000)
+#if (50 + (2 * NPROC) > 2000)
#define MAX_KMAPENT (50 + (2 * NPROC))
#else
-#define MAX_KMAPENT 1000 /* XXXCDC: no crash */
+#define MAX_KMAPENT 2000 /* XXXCDC: no crash */
#endif
#endif /* !defined MAX_KMAPENT */