Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/kern/subr_pool.c,v retrieving revision 1.30.2.1 retrieving revision 1.30.2.2 diff -u -p -r1.30.2.1 -r1.30.2.2 --- src/sys/kern/subr_pool.c 2000/11/20 18:09:07 1.30.2.1 +++ src/sys/kern/subr_pool.c 2000/11/22 16:05:24 1.30.2.2 @@ -1,4 +1,4 @@ -/* $NetBSD: subr_pool.c,v 1.30.2.1 2000/11/20 18:09:07 bouyer Exp $ */ +/* $NetBSD: subr_pool.c,v 1.30.2.2 2000/11/22 16:05:24 bouyer Exp $ */ /*- * Copyright (c) 1997, 1999 The NetBSD Foundation, Inc. @@ -1150,7 +1150,8 @@ pool_setlowat(pp, n) : roundup(n, pp->pr_itemsperpage) / pp->pr_itemsperpage; /* Make sure we're caught up with the newly-set low water mark. */ - if ((error = pool_catchup(pp)) != 0) { + if ((pp->pr_nitems < pp->pr_minitems) && + (error = pool_catchup(pp)) != 0) { /* * XXX: Should we log a warning? Should we set up a timeout * to try again in a second or so? The latter could break