mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 09:11:07 -04:00
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:
parent
1f93868d76
commit
04b7b96b05
1 changed files with 0 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue