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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=362371
@ -864,6 +864,7 @@ vm_object_backing_collapse_wait(vm_object_t object)
|
|||||||
VM_OBJECT_WLOCK(backing_object);
|
VM_OBJECT_WLOCK(backing_object);
|
||||||
if ((backing_object->flags & (OBJ_DEAD | OBJ_COLLAPSING)) == 0)
|
if ((backing_object->flags & (OBJ_DEAD | OBJ_COLLAPSING)) == 0)
|
||||||
break;
|
break;
|
||||||
|
VM_OBJECT_WUNLOCK(object);
|
||||||
vm_object_pip_sleep(backing_object, "vmbckwait");
|
vm_object_pip_sleep(backing_object, "vmbckwait");
|
||||||
counter_u64_add(object_collapse_waits, 1);
|
counter_u64_add(object_collapse_waits, 1);
|
||||||
VM_OBJECT_WLOCK(object);
|
VM_OBJECT_WLOCK(object);
|
||||||
|
Loading…
Reference in New Issue
Block a user