vm_thread_swapin() needn't validate any pages. The pages are already

validated by vm_pager_get_pages().
This commit is contained in:
Alan Cox 2009-06-05 17:06:20 +00:00
parent 42d9e2c4a6
commit 7a122777c9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=193522

View File

@ -455,7 +455,6 @@ vm_thread_swapin(struct thread *td)
if (rv != VM_PAGER_OK)
panic("vm_thread_swapin: cannot get kstack for proc: %d", td->td_proc->p_pid);
m = vm_page_lookup(ksobj, i);
m->valid = VM_PAGE_BITS_ALL;
}
ma[i] = m;
vm_page_lock_queues();