From 04b7b96b05d1907532c281dd67bd57e0157fe1cf Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Thu, 13 May 2010 20:31:24 +0000 Subject: [PATCH] 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. --- sys/vm/vm_pageout.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/vm/vm_pageout.c b/sys/vm/vm_pageout.c index dc2b3b77d56..d5ede5a7503 100644 --- a/sys/vm/vm_pageout.c +++ b/sys/vm/vm_pageout.c @@ -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; }