Revert r362360.
This commit was simply wrong since two different objects are locked. Reported by: lwhsu, pho Pointy hat: markj
This commit is contained in:
parent
50301bb0a1
commit
cdd02f43b9
@ -864,6 +864,7 @@ vm_object_backing_collapse_wait(vm_object_t object)
|
||||
VM_OBJECT_WLOCK(backing_object);
|
||||
if ((backing_object->flags & (OBJ_DEAD | OBJ_COLLAPSING)) == 0)
|
||||
break;
|
||||
VM_OBJECT_WUNLOCK(object);
|
||||
vm_object_pip_sleep(backing_object, "vmbckwait");
|
||||
counter_u64_add(object_collapse_waits, 1);
|
||||
VM_OBJECT_WLOCK(object);
|
||||
|
Loading…
x
Reference in New Issue
Block a user