summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbeck <beck@openbsd.org>2013-01-13 03:58:09 +0000
committerbeck <beck@openbsd.org>2013-01-13 03:58:09 +0000
commit7c9206e1dc99eb03eaa77706720687485d3e1328 (patch)
tree554d7dfbd19fdc27d6ee99528647ba4d116acb4c
parentGet rid of the very ugly lint workarounds: LINTLIBRARY, PROTOLIB, (diff)
downloadwireguard-openbsd-7c9206e1dc99eb03eaa77706720687485d3e1328.tar.xz
wireguard-openbsd-7c9206e1dc99eb03eaa77706720687485d3e1328.zip
After some discussion with deraadt and kettenis, revert previous decision to
set a high water mark, as this will likely cause us problems in low memory situations where we can't get a struct buf. ok kettenis@
-rw-r--r--sys/kern/vfs_bio.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index 19898b30041..a733abcedbc 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_bio.c,v 1.142 2012/12/28 14:05:39 jsing Exp $ */
+/* $OpenBSD: vfs_bio.c,v 1.143 2013/01/13 03:58:09 beck Exp $ */
/* $NetBSD: vfs_bio.c,v 1.44 1996/06/11 11:15:36 pk Exp $ */
/*
@@ -234,7 +234,6 @@ bufinit(void)
pool_init(&bufpool, sizeof(struct buf), 0, 0, 0, "bufpl", NULL);
pool_setipl(&bufpool, IPL_BIO);
- pool_sethiwat(&bufpool, buflowpages / 4);
for (dp = bufqueues; dp < &bufqueues[BQUEUES]; dp++)
TAILQ_INIT(dp);