From nobody Sat Oct 05 07:11:19 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 4XLGmT19cQz5XrZW; Sat, 05 Oct 2024 07:11:21 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XLGmR4sYrz4NJd; Sat, 5 Oct 2024 07:11:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728112279; 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=w/rxdc/H1fwUOgmtZgw3jHPllFFc+Ivfhc8WKmtjh9E=; b=bn6Xfigi6I6SYFXMO8dCXA2rozEclfZvfnY0gN1ouy697fxH0hHrFr015gGzGM/4jxZQYp saBfBEWFkr9IMK+FbUFrqdiyNNEMc4sfzSI0NPmMd7CPujleRUahmDNaJSl1spjp23KdRN zq6kCxzwUaXaoUYiE7ESR13spMIHYjKdLwW7I6mt3aYKwpZN3qSxAcSEO2Ymr+gAhJKTDh 81EZfMvIzNQ+L8nmQBuEp5is7yNh2qm/Z/mOpUu2+3uItj70ZONiUkEymhbRoeKAQcdQ13 uX8ggE3S9u9gbPMSyPh17wJuqG3psD/qCkU6gFf7mJ1VV2VUHZmN1YP6vRnf/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728112279; 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=w/rxdc/H1fwUOgmtZgw3jHPllFFc+Ivfhc8WKmtjh9E=; b=RuG07tPxPQrKljk9onWBDGB6CTtUvUhiQRuWOR9a99CkIUxoAOmkAceao7RxLbm88mMhQ2 OK92mdvFekaQSI9s8X+kc+Rinw2tbilFiuulPY97WAD1QianSIZug/uKoNlngBVLnfq6Vj b8WW4i/852KLwvgNZHDSQjUTcfrfJq2zeUPFONsmDt9ag7016E1CywPzwMcyJJuhv1GraQ wY/xu0cDQBBp6OrRkKFLtYg1zUry+xY8nvkwPSAoCDrWn1GCn6NMckt3f0H0MGues0Bh7d ddWfW2YMAdckX7pM/JDWWKnyNr4nLudDCtZ8z1bEDtPURGruWAA4okyUeIS/vg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728112279; a=rsa-sha256; cv=none; b=rqFG9h6d5zaIF857NJMr+6OdRbmSzMEMzEBor4oOEsfaGZk2TznLh+Vu3BNt1LF1axYao8 cnvn9XORmiYKa/cHZY9gz0JLzCF73Qc9sFpid8OKSq4cm3fqWuaRQYrecyDPz93ypFA39i zqbNbLNhRgAjNlv0DLJSCmOuF0v1GjzPSzfs3xpp7Tz4GB72YMPw8lMVPZ9R0AyA5YaL3E CdCWhZWti/XdykkQvmYNKFYvqst7423iZVibMpK5+ZPpz0xiSFjJIeK54Nvsn/sfgCLuMf 8SKqtFsTX7fifQpGi0lDTX++zTPrN+cHCZCNpaUHuOO7YjlGijAEVAmu+GoA4Q== 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 4XLGmR4FTSz1860; Sat, 5 Oct 2024 07:11:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4957BJM6001259; Sat, 5 Oct 2024 07:11:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4957BJsm001256; Sat, 5 Oct 2024 07:11:19 GMT (envelope-from git) Date: Sat, 5 Oct 2024 07:11:19 GMT Message-Id: <202410050711.4957BJsm001256@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: c15b2e046e8c - stable/14 - sys_pipe: consistently use cr_ruidinfo for accounting of pipebuf 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/14 X-Git-Reftype: branch X-Git-Commit: c15b2e046e8cb84c5bdae98ee742b477dab7ff24 Auto-Submitted: auto-generated The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=c15b2e046e8cb84c5bdae98ee742b477dab7ff24 commit c15b2e046e8cb84c5bdae98ee742b477dab7ff24 Author: Konstantin Belousov AuthorDate: 2024-09-20 18:48:19 +0000 Commit: Konstantin Belousov CommitDate: 2024-10-05 07:08:55 +0000 sys_pipe: consistently use cr_ruidinfo for accounting of pipebuf (cherry picked from commit a52b30ff98cdab82af140285fa7fcdf1036fef27) --- sys/kern/sys_pipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/sys_pipe.c b/sys/kern/sys_pipe.c index 20bedd665ca5..c34c7b24a269 100644 --- a/sys/kern/sys_pipe.c +++ b/sys/kern/sys_pipe.c @@ -1678,7 +1678,7 @@ pipe_free_kmem(struct pipe *cpipe) if (cpipe->pipe_buffer.buffer != NULL) { atomic_subtract_long(&amountpipekva, cpipe->pipe_buffer.size); - chgpipecnt(cpipe->pipe_pair->pp_owner->cr_uidinfo, + chgpipecnt(cpipe->pipe_pair->pp_owner->cr_ruidinfo, -cpipe->pipe_buffer.size, 0); vm_map_remove(pipe_map, (vm_offset_t)cpipe->pipe_buffer.buffer,