summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2007-05-28 19:20:15 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2007-05-28 19:20:15 +0000
commit88c6de831cd6c1c0a1dadb66090a6362bfacffa5 (patch)
tree2138f2a5a14b025a157d7526a58b2d2bfebbbade /sys/kern
parentf443c84ff95c4d8a93a8fd51443383581bfbf613 (diff)
set a hiwat mark for mbpool. we spend quite a bit of time bouncing pages
in and out with the very low default. ok dlg henning ryan
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/uipc_mbuf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c
index 1e4585ea511..a6ca06473d4 100644
--- a/sys/kern/uipc_mbuf.c
+++ b/sys/kern/uipc_mbuf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uipc_mbuf.c,v 1.82 2007/05/28 17:16:39 henning Exp $ */
+/* $OpenBSD: uipc_mbuf.c,v 1.83 2007/05/28 19:20:14 tedu Exp $ */
/* $NetBSD: uipc_mbuf.c,v 1.15.4.1 1996/06/13 17:11:44 cgd Exp $ */
/*
@@ -134,6 +134,7 @@ nmbclust_update(void)
* reached message max once a minute.
*/
(void)pool_sethardlimit(&mclpool, nmbclust, mclpool_warnmsg, 60);
+ pool_sethiwat(&mbpool, nmbclust);
}
void