mirror of
https://github.com/opnsense/src.git
synced 2026-02-17 09:39:26 -05:00
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
b417181250
commit
aed1e745d0
1 changed files with 0 additions and 2 deletions
|
|
@ -1426,9 +1426,7 @@ unlocked_vmobj:
|
|||
}
|
||||
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 a new issue