Date: Fri, 19 Jun 2020 11:04:49 +0000 (UTC) From: Mark Johnston <markj@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r362371 - head/sys/vm Message-ID: <202006191104.05JB4nEi085287@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006191104.05JB4nEi085287>