Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/kern pull up rev 1.22. approved by perry.



details:   https://anonhg.NetBSD.org/src/rev/df54da984fe1
branches:  netbsd-1-4
changeset: 468050:df54da984fe1
user:      chs <chs%NetBSD.org@localhost>
date:      Sun Apr 04 17:20:14 1999 +0000

description:
pull up rev 1.22.  approved by perry.

diffstat:

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

diffs (33 lines):

diff -r 1335f6e3a5e2 -r df54da984fe1 sys/kern/subr_pool.c
--- a/sys/kern/subr_pool.c      Sun Apr 04 11:44:59 1999 +0000
+++ b/sys/kern/subr_pool.c      Sun Apr 04 17:20:14 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: subr_pool.c,v 1.21 1999/03/31 23:23:48 thorpej Exp $   */
+/*     $NetBSD: subr_pool.c,v 1.21.2.1 1999/04/04 17:20:14 chs Exp $   */
 
 /*-
  * Copyright (c) 1997, 1999 The NetBSD Foundation, Inc.
@@ -254,6 +254,11 @@
        pp->pr_npages--;
        pp->pr_npagefree++;
 
+       if ((pp->pr_roflags & PR_PHINPAGE) == 0) {
+               LIST_REMOVE(ph, ph_hashlist);
+               pool_put(&phpool, ph);
+       }
+
        if (pp->pr_curpage == ph) {
                /*
                 * Find a new non-empty page header, if any.
@@ -267,11 +272,6 @@
 
                pp->pr_curpage = ph;
        }
-
-       if ((pp->pr_roflags & PR_PHINPAGE) == 0) {
-               LIST_REMOVE(ph, ph_hashlist);
-               pool_put(&phpool, ph);
-       }
 }
 
 /*



Home | Main Index | Thread Index | Old Index