From d027b22f1e6841ae1e5b9140480c2a7db02f0b7b Mon Sep 17 00:00:00 2001 From: markj Date: Fri, 19 Jun 2020 03:31:46 +0000 Subject: [PATCH] Fix a double object unlock in vm_object_backing_collapse_wait(). Reviewed by: kib Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D25327 --- sys/vm/vm_object.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c index 4e27327ef42b..b2897e367349 100644 --- a/sys/vm/vm_object.c +++ b/sys/vm/vm_object.c @@ -864,7 +864,6 @@ 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);