Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Use POOL_NEEDS_CATCHUP() in one more place.



details:   https://anonhg.NetBSD.org/src/rev/c6037ff39664
branches:  trunk
changeset: 509680:c6037ff39664
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu May 10 02:19:32 2001 +0000

description:
Use POOL_NEEDS_CATCHUP() in one more place.

diffstat:

 sys/kern/subr_pool.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r e876c2ed93f7 -r c6037ff39664 sys/kern/subr_pool.c
--- a/sys/kern/subr_pool.c      Thu May 10 01:57:47 2001 +0000
+++ b/sys/kern/subr_pool.c      Thu May 10 02:19:32 2001 +0000
@@ -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 @@
                return (0);
        }
 
-       while (pp->pr_nitems < pp->pr_minitems) {
+       while (POOL_NEEDS_CATCHUP(pp)) {
                /*
                 * Call the page back-end allocator for more memory.
                 *



Home | Main Index | Thread Index | Old Index