svn commit: r362371 - head/sys/vm
Mark Johnston
markj at FreeBSD.org
Fri Jun 19 11:04:50 UTC 2020
Author: markj
Date: Fri Jun 19 11:04:49 2020
New Revision: 362371
URL: https://svnweb.freebsd.org/changeset/base/362371
Log:
Revert r362360.
This commit was simply wrong since two different objects are locked.
Reported by: lwhsu, pho
Pointy hat: markj
Modified:
head/sys/vm/vm_object.c
Modified: head/sys/vm/vm_object.c
==============================================================================
--- head/sys/vm/vm_object.c Fri Jun 19 10:33:45 2020 (r362370)
+++ head/sys/vm/vm_object.c Fri Jun 19 11:04:49 2020 (r362371)
@@ -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);
More information about the svn-src-all
mailing list