summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_amap.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2007-06-01 20:10:05 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2007-06-01 20:10:05 +0000
commit1a1c57591214c6a148bc0cce5c8e5876309d7c4a (patch)
tree60782b11d1ce8e9ad47a2198f013e0e6fe125a0c /sys/uvm/uvm_amap.c
parent52453b1048ccfb9b2007e908a2a13698d3b35719 (diff)
set hiwat mark for some of the more popular pools to reduce bouncing
ok art bob
Diffstat (limited to 'sys/uvm/uvm_amap.c')
-rw-r--r--sys/uvm/uvm_amap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/uvm/uvm_amap.c b/sys/uvm/uvm_amap.c
index 8bb30dc1c59..4c14ffd1998 100644
--- a/sys/uvm/uvm_amap.c
+++ b/sys/uvm/uvm_amap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_amap.c,v 1.37 2007/05/31 21:20:30 thib Exp $ */
+/* $OpenBSD: uvm_amap.c,v 1.38 2007/06/01 20:10:04 tedu Exp $ */
/* $NetBSD: uvm_amap.c,v 1.27 2000/11/25 06:27:59 chs Exp $ */
/*
@@ -155,6 +155,7 @@ amap_init(void)
*/
pool_init(&uvm_amap_pool, sizeof(struct vm_amap), 0, 0, 0,
"amappl", &pool_allocator_nointr);
+ pool_sethiwat(&uvm_amap_pool, 4096);
}
/*