diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2007-01-12 21:11:39 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2007-01-12 21:11:39 +0000 |
commit | 43e4fb1a26fc0d9a065f128e8b8321aec8eebc88 (patch) | |
tree | a5ea97fe01e5654b2769ff049f364ca2d3e89d4a /sys/uvm | |
parent | 946d4d3610b12e1d5f621ef6d312e43ac97d7ce5 (diff) |
proper define for MAX_KMAPENT; miod@ ok
Diffstat (limited to 'sys/uvm')
-rw-r--r-- | sys/uvm/uvm_map.h | 8 |
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 |