summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/uvm/uvm_map.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/uvm/uvm_map.h b/sys/uvm/uvm_map.h
index 2db836338b3..aebf1a1a197 100644
--- a/sys/uvm/uvm_map.h
+++ b/sys/uvm/uvm_map.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_map.h,v 1.34 2005/11/19 02:18:02 pedro Exp $ */
+/* $OpenBSD: uvm_map.h,v 1.35 2007/01/12 21:11:38 mickey Exp $ */
/* $NetBSD: uvm_map.h,v 1.24 2001/02/18 21:19:08 chs Exp $ */
/*
@@ -246,11 +246,7 @@ struct vm_map {
/* XXX: number of kernel maps and entries to statically allocate */
#if !defined(MAX_KMAPENT)
-#if (50 + (2 * NPROC) > 1000)
-#define MAX_KMAPENT (50 + (2 * NPROC))
-#else
-#define MAX_KMAPENT 1000 /* XXXCDC: no crash */
-#endif
+#define MAX_KMAPENT 1024 /* XXXCDC: no crash */
#endif /* !defined MAX_KMAPENT */
#ifdef _KERNEL