Remove unnecessary page queues locking around vm_page_wakeup().
Approved by: kmacy
This commit is contained in:
parent
0618630015
commit
2f0b74fb06
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user