From nobody Wed May 22 22:13:44 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 4Vl5DT04cfz5L7Jv; Wed, 22 May 2024 22:13:45 +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 4Vl5DS59tfz4Qvx; Wed, 22 May 2024 22:13:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716416024; 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=ipyL2aHEcinl9oUogMkemM245Nx01VFlRlwdmIXNncI=; b=BSsApBhuiA+EshlSnRR5qVSWEW8MKCHnjpIoEIo+UtVyixAH9iLYWUDF3tuFNgMB0qfnS8 qFQuoouXI0EyXK7up/IxPvW/8v7eNViLbI2CM/OyU5GcHzQ6EWwiwCYCXiO2AIwOXnB2vH Ma+K7+HseeVvt17sBJc0VlXI8kdOChaZX1ITGy1p3512Xj9mVDLVtG7Eew9zXeYjSchnXB w+u6BBdLoRfU1T8fRU7oIW9b4yeZi5fr6nfHMVd5Tq30U9URW8A3IXRSoD/Qzj2QJvLhST 0G5L+I+XXiDcLkArwh2SCRtG864TyPf8unZ+dQ+PUuOKq45eg90Tgjh1e2DYhw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716416024; a=rsa-sha256; cv=none; b=FEmG+eb/Dla7DyaSh52AqTryZhGFhve0CTTU/PM9p5zaVYj+eeCqREIvnPpRM9VPETr/UO IFf4Euj7K75fKG1Kd4Miz8ZRslEvno8cErHox7B699HsqtoNbrUQBOZklFnxcAbJI3gLcw 4Xl3chcPdRu5Jgvwbsa0gzVLiuJQiHnSBWp552Rj/Z+WB7igwTtVv7ZgGsZlmgbU15zkbW 2LXF9YMAri8QV5h5tmA+voF3Hmf7P0z4B6vj1GbNRjiW0fF7PeVkAYhvxLU48u5XpcnHH6 6BYd3O2BRDzwviTS5tEMGLfB7dvoCANwiwL0Jdw1eryYzcDL1xYWxf0m9vL2SQ== 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=1716416024; 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=ipyL2aHEcinl9oUogMkemM245Nx01VFlRlwdmIXNncI=; b=ap2ZRavf/ztmWzdxEdww2q0jv9oaz5TxxMWfGmh1w8VAvXrZQ6YZql/Rm03KgU4SkFVPbk K9DI/jNf2tfAJGSMwP/PGeNhRXrW1VRzvFihJM67fl4XmVt0EHnntTiut/8AABcFPuI/5J vmNUoj2KkjuaREF7iBE5ecWTttSKbK05yGmTrlU9vzi8Mz1czJh8lppDkqv9vs4Er8rBCk ja8kzsWtvXe92rEzvmyIjwXQg/eQ/2QGSsRGVbHMPQRjh8YL2GEgngIKCrQmdln1YvxAak U5NGvXqDKlWxO2UtCN67WtTeivUqEyM8KXmpZIQW8Sl0Gvmun270a93mXdAyig== 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 4Vl5DS4msRzNrc; Wed, 22 May 2024 22:13:44 +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 44MMDiMW000797; Wed, 22 May 2024 22:13:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44MMDiBi000794; Wed, 22 May 2024 22:13:44 GMT (envelope-from git) Date: Wed, 22 May 2024 22:13:44 GMT Message-Id: <202405222213.44MMDiBi000794@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: b6f4a3fa75d2 - main - 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/main X-Git-Reftype: branch X-Git-Commit: b6f4a3fa75d24637b4d81035655fcb3d3ea187ad Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=b6f4a3fa75d24637b4d81035655fcb3d3ea187ad commit b6f4a3fa75d24637b4d81035655fcb3d3ea187ad Author: Konstantin Belousov AuthorDate: 2024-05-22 01:46:28 +0000 Commit: Konstantin Belousov CommitDate: 2024-05-22 22:13:29 +0000 mqueuefs: uma_zfree() can be postponed until mqfs sx mi_lock is dropped Sponsored by: The FreeBSD Foundation MFC after: 1 week --- 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 d842aff8fdc9..6f8fbaacdfb4 100644 --- a/sys/kern/uipc_mqueue.c +++ b/sys/kern/uipc_mqueue.c @@ -1109,9 +1109,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); }