summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2013-01-13 03:58:10 +0000
committerBob Beck <beck@cvs.openbsd.org>2013-01-13 03:58:10 +0000
commit9aec0513f05b296bee63aa8d670e698d3f65e884 (patch)
treee8088ea4aaf2f1ab775dcae8e56ee98f6c1b62a8 /sys
parentb762e20c2f1baadeb92faa332cf5f5aee2c40323 (diff)
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@
Diffstat (limited to 'sys')
-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);