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.53 retrieving revision 1.54 diff -u -p -r1.53 -r1.54 --- src/sys/kern/subr_pool.c 2001/05/10 01:37:40 1.53 +++ src/sys/kern/subr_pool.c 2001/05/10 02:19:32 1.54 @@ -1,4 +1,4 @@ -/* $NetBSD: subr_pool.c,v 1.53 2001/05/10 01:37:40 thorpej Exp $ */ +/* $NetBSD: subr_pool.c,v 1.54 2001/05/10 02:19:32 thorpej Exp $ */ /*- * Copyright (c) 1997, 1999, 2000 The NetBSD Foundation, Inc. @@ -1049,7 +1049,7 @@ pool_catchup(struct pool *pp) return (0); } - while (pp->pr_nitems < pp->pr_minitems) { + while (POOL_NEEDS_CATCHUP(pp)) { /* * Call the page back-end allocator for more memory. *