From 9aec0513f05b296bee63aa8d670e698d3f65e884 Mon Sep 17 00:00:00 2001 From: Bob Beck Date: Sun, 13 Jan 2013 03:58:10 +0000 Subject: 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@ --- sys/kern/vfs_bio.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys') 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); -- cgit v1.2.3