Remove unneeded page lock around vm_page_insert().
Submitted by: alc
This commit is contained in:
parent
522b93a92a
commit
5af68df670
@ -220,9 +220,7 @@ reserve:
|
||||
}
|
||||
m->valid = VM_PAGE_BITS_ALL;
|
||||
*mres = m;
|
||||
vm_page_lock(m);
|
||||
vm_page_insert(m, vm_obj, OFF_TO_IDX(offset));
|
||||
vm_page_unlock(m);
|
||||
vm_page_busy(m);
|
||||
|
||||
if (oldm != NULL) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user