Remove a nonsensical test from vm_pageout_clean(). A page can't be in the
inactive queue and have a non-zero wire count. Reviewed by: kib MFC after: 3 weeks
This commit is contained in:
parent
685b0bb814
commit
b28889a2fc
@ -350,7 +350,6 @@ vm_pageout_clean(m)
|
||||
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 @@ vm_pageout_clean(m)
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user