The vm_page lock is not needed around the call to vm_page_insert().
Submitted by: alc MFC after: 1 week
This commit is contained in:
parent
17993ced1b
commit
e047d2d65c
@ -1426,9 +1426,7 @@ i915_gem_pager_fault(vm_object_t vm_obj, vm_ooffset_t offset, int prot,
|
||||
}
|
||||
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);
|
||||
|
||||
CTR4(KTR_DRM, "fault %p %jx %x phys %x", gem_obj, offset, prot,
|
||||
|
Loading…
Reference in New Issue
Block a user