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:
Alan Cox 2004-05-12 04:10:35 +00:00
parent 287fa6ba95
commit f651b12907

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++;