From nobody Wed May 29 05:36:27 2024 X-Original-To: dev-commits-src-all@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 4VpymW5CMWz5LnRX; Wed, 29 May 2024 05:36:27 +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 4VpymW2n2Hz4bK5; Wed, 29 May 2024 05:36:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716960987; 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=XObJ5DbzVa3tFi1YX0CgYPLUAdTrri0F2Jh+QF+jRNk=; b=bgoFjyy+XvfnfnqE2W2Ap86xOIbUgNqjefb9ZDwgLRAYpKbcmyDZ/qSSHBDQTI5HnuwpNC AAsC7iOYfwRfTxr/0nKFG5DvJPx31rArcJjphlDJbdeV/S8eLG/6X4ZtQaya+aXSfqPjhS eI6RnqRbMjdECTnU1cuTbRgKSQ39fzvvn3mDig5MbGsHbH1adGnANJTdy0LI5+Zn4XCQ3S U6QLNMplogP/9MN4Zfdz8JLKxx4PNwJn3p9q0TzDov8uZXglfThxXPuQhqaFYz1c8Wgkuz zXJ1uWf4iJBT6sgrvjmLHRkzTYCsv0Vgyn4Bf2/dePCAEAkpp4GAwXMrJ5aYRQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716960987; a=rsa-sha256; cv=none; b=wMqbzxzwX0ePqSiKWZuq06DZ/PCZzn515EvaoW2ZzO+uWCZzuCd74pWDSyEnmAC/H892o/ pmmNHdN+mggBI13md1dANWaMlMr/YeakpNdQDm0cR3XTJtC9iFRBjfz9LhRecE1WKZcyb1 XXadMtgJW6suyTbGKrn443Hs2R1WUkueufcku4iSZk2sjyszlWd0PkbONc75T68iS750K5 mTshlMs9hndW5No5xAfgKMhKxOkq/rn8u8D2+56Y9oGCg6aboxsz7TMBLGZjVceyTix6aC p4NbmBmUjCtRyWmntavV+o2uLhN/RY/hhd+HLfb9ygxK4Ura3DdpNd31fLYcMg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716960987; 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=XObJ5DbzVa3tFi1YX0CgYPLUAdTrri0F2Jh+QF+jRNk=; b=yLSLWRfcnhlSGC7NMfJM872uhLRKKfqnil4qukGUcJiWaV9vPYE5yf9QT6c9jcWygrE/PL KoGRAml3bdDtTw/efCnVB5IcAGGq0EigaCTYdH6TUipMNNqOXQkY6PwMHd3UK7ZCm3jTZ5 vMS/iTlHUZaVaOG8KGL4bmvSfjHb/gtDyo6lIcfkjl6XceUWMjf09Wdz6PQ5GOTK3oR2fP 5rPFioz2LBFnTDvAV1KEPSU/1CQrTqKkr9eUE5K1lvwtJjB7BnXvBDMCeJni5SJsA8om3E TBO9W5LGOQJSA2DUjnh32l3kezXKIrHbNmw8ULuvnx86mZr7eY4GAzELn8d0vQ== 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 4VpymW1vmfzkft; Wed, 29 May 2024 05:36:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44T5aRfB086355; Wed, 29 May 2024 05:36:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44T5aRZ0086352; Wed, 29 May 2024 05:36:27 GMT (envelope-from git) Date: Wed, 29 May 2024 05:36:27 GMT Message-Id: <202405290536.44T5aRZ0086352@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: 6446348a4f37 - stable/13 - mqueuefs: uma_zfree() can be postponed until mqfs sx mi_lock is dropped List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 6446348a4f37d49fe4c674ffe2d81a93b0dca0b5 Auto-Submitted: auto-generated The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=6446348a4f37d49fe4c674ffe2d81a93b0dca0b5 commit 6446348a4f37d49fe4c674ffe2d81a93b0dca0b5 Author: Konstantin Belousov AuthorDate: 2024-05-22 01:46:28 +0000 Commit: Konstantin Belousov CommitDate: 2024-05-29 05:36:13 +0000 mqueuefs: uma_zfree() can be postponed until mqfs sx mi_lock is dropped (cherry picked from commit b6f4a3fa75d24637b4d81035655fcb3d3ea187ad) --- sys/kern/uipc_mqueue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/uipc_mqueue.c b/sys/kern/uipc_mqueue.c index 5256a00cd831..be3e3fefa749 100644 --- a/sys/kern/uipc_mqueue.c +++ b/sys/kern/uipc_mqueue.c @@ -1112,9 +1112,9 @@ mqfs_reclaim(struct vop_reclaim_args *ap) sx_xlock(&mqfs->mi_lock); vp->v_data = NULL; LIST_REMOVE(vd, mv_link); - uma_zfree(mvdata_zone, vd); mqnode_release(pn); sx_xunlock(&mqfs->mi_lock); + uma_zfree(mvdata_zone, vd); return (0); }