summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_map.c
diff options
context:
space:
mode:
authordyson <dyson@FreeBSD.org>1997-08-06 04:58:05 +0000
committerdyson <dyson@FreeBSD.org>1997-08-06 04:58:05 +0000
commit5f9cb6429dd14c9977c8dfee9f1243a5e02920e4 (patch)
tree5e3c3449eddd368b91facc90ecfded71a9c6997b /sys/vm/vm_map.c
parent977f60f91e79bdc45d9a0086b6515d828ebfb16b (diff)
downloadFreeBSD-src-5f9cb6429dd14c9977c8dfee9f1243a5e02920e4.zip
FreeBSD-src-5f9cb6429dd14c9977c8dfee9f1243a5e02920e4.tar.gz
Add exposure of some vm_zone allocation stats by sysctl. Also, change
the initialization parameters of some zones in VM map. This contains only optimizations and not bugfixes.
Diffstat (limited to 'sys/vm/vm_map.c')
-rw-r--r--sys/vm/vm_map.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c
index 51d60d5..4019599 100644
--- a/sys/vm/vm_map.c
+++ b/sys/vm/vm_map.c
@@ -61,7 +61,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: vm_map.c,v 1.83 1997/08/05 22:24:28 dyson Exp $
+ * $Id: vm_map.c,v 1.84 1997/08/05 23:03:23 dyson Exp $
*/
/*
@@ -208,11 +208,11 @@ vmspace_alloc(min, max, pageable)
void
vm_init2(void) {
zinitna(kmapentzone, &kmapentobj,
- NULL, 0, 4096, ZONE_INTERRUPT, 4);
+ NULL, 0, cnt.v_page_count / 4, ZONE_INTERRUPT, 4);
zinitna(mapentzone, &mapentobj,
NULL, 0, 0, 0, 4);
zinitna(mapzone, &mapobj,
- NULL, 0, 0, 0, 4);
+ NULL, 0, 0, 0, 1);
pmap_init2();
}
OpenPOWER on IntegriCloud