Cache queue pages are not mapped. Thus, the pmap_remove_all() by

vm_pageout_scan()'s loop for freeing cache queue pages is unnecessary.
This commit is contained in:
alc 2004-05-12 04:10:35 +00:00
parent bb03c5cde2
commit 6f186a7411

View File

@ -1111,7 +1111,6 @@ vm_pageout_scan(int pass)
object = m->object;
VM_OBJECT_LOCK_ASSERT(object, MA_OWNED);
vm_page_busy(m);
pmap_remove_all(m);
vm_page_free(m);
VM_OBJECT_UNLOCK(object);
cnt.v_dfree++;