From nobody Sat Mar 11 11:08:42 2023 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PYgCG6vjfz3xWKg; Sat, 11 Mar 2023 11:08:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PYgCG66Nbz4DS6; Sat, 11 Mar 2023 11:08:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678532922; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RxAIBpA1ekF3YGPv17gg/r2r+YIbFl/0fmp5S2hlovI=; b=hh6iBpFC85v8QYp66NMKfM+lTjjmRIMEqkbRYTX5VU6M19FDmuPwXgOChX7ZAKQzbpCdm3 7wgc2mxySYz0BxqRoOD4J1tApIFBg9p4lcWQIVbtqX1rVkP6l/uXT6m7NAZyXZNr2CBQWp dptbip//ZXgwllMCKkJ37iAbrosJhzPmHsJyt0ntJZ6Jac0g7O4ts4t/ZD4kmb8xnlU0lI LnUYZlXNRunH+eqhYa/yr/W3LJADgepB8lMQ/AsRfgd0Srnjm77tBpZLYhtRlCwvWWuqt+ mayiQKSsNP6hcd/ea1T1njF2ZGt1kLYBjCvT9oWFPpkfpAnCSRlhFVRDqbkGKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678532922; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RxAIBpA1ekF3YGPv17gg/r2r+YIbFl/0fmp5S2hlovI=; b=mBbUhqlZQO3yzG9QqeeVR+znf3PUuPDoGbPYGsMCpmEuUGYYKmXqhgyitqckTIf+57iZZa EKauadkUTl6wOTTX2EUHOCiB9g7s/4aJUmShO80tWOfl1K3SYfOBSsfNVPIfdhD1aQnIh3 qniD84MNj2KoYdfwodKqD89MTaqrEsOOkDq6fxk+5sQwCWh0Vkpz4UghyQ6lGjTkyY3Brx bQFf5nzvBMt5LbydFbD51nhAmLqlkblyhEbH1oggkPFS0zE+0NRiKbeBO8T9FCozy/XClv RfcHXpCjbTaUysaz/V8vsglnsinYhSMAzzLWMYirIIJ/v8Ec8Y1sMJ7hWRFSUA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678532922; a=rsa-sha256; cv=none; b=MIDsdoz4yCSvw74dgYaEQH4Akdm9QPAfwOrfVwRj2EkKt1NjlKq7FSwdXAhP1Yc9y+/NiQ 5PZbsIQvAJ4XDBdbadtnqaWAuY5wReBe27HSZbB0UG4kN5+TuhU1W8U3E3kiqmkpkgaK31 HyOP1MPDokb/uxyNwLBjXEZq5cyEmDw+z9kZ9fpxTb+uAw9m0eGSIRPSK/zXEbpDI40S15 s5GUsoq6rdcigfd/Aa9zUX4T7tH9vZJxQ8PnCLhNXkAMXEARDXziX7he/JYdSocuPE9ZK3 DXCKTOBN/FnCL1tNtcaQLwo83O8VBZJ7kL69c+rQFSFevg2AIfpGLFm4oYksZg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PYgCG45M6zS24; Sat, 11 Mar 2023 11:08:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 32BB8gv5028696; Sat, 11 Mar 2023 11:08:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32BB8g9G028695; Sat, 11 Mar 2023 11:08:42 GMT (envelope-from git) Date: Sat, 11 Mar 2023 11:08:42 GMT Message-Id: <202303111108.32BB8g9G028695@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Guzik Subject: git: bdfd1adc9908 - main - vm: add VM_OBJECT_UNLOCK List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mjg X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: bdfd1adc9908db7e346002769589bbadc29d344d Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=bdfd1adc9908db7e346002769589bbadc29d344d commit bdfd1adc9908db7e346002769589bbadc29d344d Author: Mateusz Guzik AuthorDate: 2023-03-07 20:47:44 +0000 Commit: Mateusz Guzik CommitDate: 2023-03-11 11:08:21 +0000 vm: add VM_OBJECT_UNLOCK Reviewed by: kib Reviewed by: markj Tested by: pho Differential Revision: https://reviews.freebsd.org/D38964 --- sys/vm/vm_object.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/vm/vm_object.h b/sys/vm/vm_object.h index 78e7785e513e..0f05d2936cf4 100644 --- a/sys/vm/vm_object.h +++ b/sys/vm/vm_object.h @@ -267,6 +267,8 @@ extern struct vm_object kernel_object_store; rw_wowned(&(object)->lock) #define VM_OBJECT_WUNLOCK(object) \ rw_wunlock(&(object)->lock) +#define VM_OBJECT_UNLOCK(object) \ + rw_unlock(&(object)->lock) #define VM_OBJECT_DROP(object) \ lock_class_rw.lc_unlock(&(object)->lock.lock_object) #define VM_OBJECT_PICKUP(object, state) \