MFC r206814 (by alc):

Remove a nonsensical test from vm_pageout_clean().  A page can't be in the
inactive queue and have a non-zero wire count.
This commit is contained in:
Konstantin Belousov 2010-05-13 20:31:24 +00:00
parent 1f93868d76
commit 04b7b96b05

View file

@ -350,7 +350,6 @@ more:
vm_page_test_dirty(p);
if (p->dirty == 0 ||
p->queue != PQ_INACTIVE ||
p->wire_count != 0 || /* may be held by buf cache */
p->hold_count != 0) { /* may be undergoing I/O */
ib = 0;
break;
@ -378,7 +377,6 @@ more:
vm_page_test_dirty(p);
if (p->dirty == 0 ||
p->queue != PQ_INACTIVE ||
p->wire_count != 0 || /* may be held by buf cache */
p->hold_count != 0) { /* may be undergoing I/O */
break;
}