mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Relax the object locking assertion in vm_page_lookup(). Now that a radix
tree is used to maintain the object's collection of resident pages, vm_page_lookup() no longer needs an exclusive lock. Reviewed by: attilio Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
613c4afd62
commit
767a6420bc
1 changed files with 1 additions and 1 deletions
|
|
@ -942,7 +942,7 @@ vm_page_t
|
|||
vm_page_lookup(vm_object_t object, vm_pindex_t pindex)
|
||||
{
|
||||
|
||||
VM_OBJECT_ASSERT_WLOCKED(object);
|
||||
VM_OBJECT_ASSERT_LOCKED(object);
|
||||
return (vm_radix_lookup(&object->rtree, pindex));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue