Subject: Re: 1.4_ALPHA troubles...
To: Dave Huang <khym@bga.com>
From: Chuck Silvers <chuq@chuq.com>
List: port-i386
Date: 04/03/1999 16:49:10
I think I've found the pool bug. try applying this patch and
let me know if the problem goes away.
-Chuck
diff -u -r1.21 subr_pool.c
--- subr_pool.c 1999/03/31 23:23:48 1.21
+++ subr_pool.c 1999/04/04 00:45:30
@@ -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);
- }
}
/*