Remove unneeded page lock around vm_page_insert().
Submitted by: alc
This commit is contained in:
parent
522b93a92a
commit
5af68df670
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=252864
@ -220,9 +220,7 @@ ttm_bo_vm_fault(vm_object_t vm_obj, vm_ooffset_t offset,
|
||||
}
|
||||
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…
Reference in New Issue
Block a user