Remove unnecessary page queues locking around vm_page_wakeup().

Approved by:	kmacy
This commit is contained in:
Alan Cox 2009-02-14 22:07:22 +00:00
parent 0618630015
commit 2f0b74fb06

View File

@ -3126,9 +3126,7 @@ pmap_object_init_pt(pmap_t pmap, vm_offset_t addr,
}
p = vm_page_lookup(object, pindex);
vm_page_lock_queues();
vm_page_wakeup(p);
vm_page_unlock_queues();
}
ptepa = VM_PAGE_TO_PHYS(p);