vm_object_collapse_scan_wait: drop locks before reacquiring
Regression from r352174. In the vm_page_rename() failure case we forgot to unlock the vm object locks before sleeping and reacquiring them. Reviewed by: jeff Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D22542
This commit is contained in:
parent
32e5f65de4
commit
7a0572369e
@ -1496,6 +1496,8 @@ vm_object_collapse_scan_wait(vm_object_t object, vm_page_t p, vm_page_t next,
|
||||
return (next);
|
||||
/* The page is only NULL when rename fails. */
|
||||
if (p == NULL) {
|
||||
VM_OBJECT_WUNLOCK(object);
|
||||
VM_OBJECT_WUNLOCK(backing_object);
|
||||
vm_radix_wait();
|
||||
} else {
|
||||
if (p->object == object)
|
||||
|
Loading…
Reference in New Issue
Block a user