Must be a bit less aggressive about freeing pagedep structures.
Obtained from: Robert Watson <rwatson@FreeBSD.org> and Matthew Jacob <mjacob@feral.com>
This commit is contained in:
parent
a9d09e93db
commit
9f5192ff71
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=76825
@ -2029,7 +2029,7 @@ free_newdirblk(newdirblk)
|
||||
for (i = 0; i < DAHASHSZ; i++)
|
||||
if (LIST_FIRST(&pagedep->pd_diraddhd[i]) != NULL)
|
||||
break;
|
||||
if (i == DAHASHSZ) {
|
||||
if (i == DAHASHSZ && (pagedep->pd_state & ONWORKLIST) == 0) {
|
||||
LIST_REMOVE(pagedep, pd_hash);
|
||||
WORKITEM_FREE(pagedep, D_PAGEDEP);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user