aboutsummaryrefslogtreecommitdiff
path: root/sys/vm
diff options
context:
space:
mode:
authorMike Silbersack <silby@FreeBSD.org>2003-10-01 19:39:42 +0000
committerMike Silbersack <silby@FreeBSD.org>2003-10-01 19:39:42 +0000
commit3af12b3dac71c953b35be9e3e1f01469528ab6ad (patch)
treea791be7917134f8a61aa16a363fd9dd46b0c4672 /sys/vm
parent6ed0f09c85e9b1afdcf748aa316736648871b8e4 (diff)
Notes
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/vm_map.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c
index 04172306e1f8..4a61a89b3c6e 100644
--- a/sys/vm/vm_map.c
+++ b/sys/vm/vm_map.c
@@ -187,7 +187,8 @@ void
vm_init2(void) {
zinitna(kmapentzone, &kmapentobj,
NULL, 0, lmin((VM_MAX_KERNEL_ADDRESS - KERNBASE) / PAGE_SIZE,
- cnt.v_page_count) / 8, ZONE_INTERRUPT, 1);
+ cnt.v_page_count) / 8 + maxproc * 2 + maxfiles,
+ ZONE_INTERRUPT, 1);
zinitna(mapentzone, &mapentobj,
NULL, 0, 0, 0, 1);
zinitna(mapzone, &mapobj,