summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
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/arch/amd64
parent52453b1048ccfb9b2007e908a2a13698d3b35719 (diff)
set hiwat mark for some of the more popular pools to reduce bouncing
ok art bob
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/amd64/pmap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/amd64/amd64/pmap.c b/sys/arch/amd64/amd64/pmap.c
index 11eeef8d37c..6cebc329fed 100644
--- a/sys/arch/amd64/amd64/pmap.c
+++ b/sys/arch/amd64/amd64/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.26 2007/05/29 02:37:04 art Exp $ */
+/* $OpenBSD: pmap.c,v 1.27 2007/06/01 20:10:04 tedu Exp $ */
/* $NetBSD: pmap.c,v 1.3 2003/05/08 18:13:13 thorpej Exp $ */
/*
@@ -768,6 +768,7 @@ pmap_bootstrap(vaddr_t kva_start, paddr_t max_pa)
&pool_allocator_nointr);
pool_init(&pmap_pv_pool, sizeof(struct pv_entry), 0, 0, 0, "pvpl",
&pool_allocator_nointr);
+ pool_sethiwat(&pmap_pv_pool, 32 * 1024);
/*
* initialize the PDE pool and cache.