🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #22854

Re: [PATCH v2 net-next] net: do not over-estimate truesize in zerocopy_fill_skb_from_iter()

#22854
From: patchwork-bot+netdevbpf
Date: Thu, 26 Nov 2026 02:30
25 lines
8660 bytes
Hello:

This patch was applied to netdev/net-next.git (main)
by Willem de Bruijn <willemb@google.com>:

On Mon, 23 Nov 2026 10:11:56 +0100 you wrote:
> zerocopy_fill_skb_from_iter() adds PAGE_ALIGN(copied + start) to
> skb->truesize for each iov_iter_get_pages2() call.
> 
> Since commit 394fcd8a8134 ("net: zerocopy: combine pages in
> zerocopy_sg_from_iter()"), a chunk that directly follows the last frag
> in the same page is merged into this frag, and the extra page reference
> is released. The page is still accounted again in skb->truesize.
> 
> [...]

Here is the summary with links:
  - [v2,net-next] net: do not over-estimate truesize in zerocopy_fill_skb_from_iter()
    https://git.kernel.org/netdev/net-next/c/d2ddce786257

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179566020603.1457344.209894326819869971.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!3.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.ams11.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-371818-linux-kernel-netdev=dewy.ru
References: <20261123091156.58359-1-edumazet@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!3.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.ams11.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-371818-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH v2 net-next] net: do not over-estimate truesize in zerocopy_fill_skb_from_iter()
Date: Thu, 26 Nov 2026 02:30:06 +0000
Organization: Usenet Network
Message-ID: <179566020603.1457344.209894326819869971.git-patchwork-notify@kernel.org>
References: <20261123091156.58359-1-edumazet@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network; logging-data="361243"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:lLkyD1rghoB2Wegk4YG0bGUemgo= sha256:M1MdwKeoXzJFIft6jHPklmOnMa3mXQGmQhk6BlYZ+dc= sha1:dP3ocXSu5+S5j6a1Ua9786G7Wvg= sha256:qlNaxobcNn5NtDGPco4JLfiqfSIPfYThc6S8MV/7wOU=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 1480E125EAF; Thu, 26 Nov 2026 05:30:24 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E_PbaLJj0-Vl; Thu, 26 Nov 2026 05:30:20 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-371818-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id A2A07125EAC; Thu, 26 Nov 2026 05:30:10 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by tor.lore.kernel.org (Postfix) with ESMTP id 05DFE3BC25; Thu, 26 Nov 2026 02:30:09 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1795660208; b=RIciiGmJWHsw6z7ZKVeANG1+AzzWEnf828CbZyo3QRAHna5XSnbcYCJxNvAA5yyobHxd yc45QQlQaKDdl2OlyEUwVofjWzeJCLyInnDMt+8WcUbv52O2vXIbnSYWKComJ8iY/7YkG UAIMydwnOOqsLr6gXbkF0HDfLV1IjTMlQK96wfikOK/HunNoUYkRQroQppsFez+pX0TAs LSSYSdHMRzjwbO1z+3GUIuBw+CG8IFAze1Bgheli2R4yP0WfnJdiEp6d4Q3H4Hg8SLJ9n jnPEGacT5H4HQ8so3L79SVLIV+0B7SVrYBSIQIHW8S7r14UnGh0zxG6IwRg9POtxUpg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795660208; h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=sSkgDEwKeb73M6Ctumecjy/PEkv/0wl7wlEPouQB+So=; b=tgOTJTcg9uSSNhYUPE9QOiLpIsq6BWP9/RdLq4J5PdBBTF8+dXx4Oefja2sC0Ezf17KT 9jD5hm0Tsg6bV9bB3F1/6biOOM0r6l+P8hsJUQMfEvxoszWvTo6yYGkV1bse2ZT2rWwEC XOrygTCSXlzRB8laHhjdYUEHz4o4RTUKnISFaWk8WFX0hbbSKJ/vu4DOR6Y0NlD+RHhxq ME8MpqvvVxm68bTxYTS5PmeGCofvOxxZvV0ZLUp2/kDAVNMvTtsOnYpfW2JmOWcCKQz3x AYs65l7+kk2g3Oj4i5xQ2LAG8UJsyUmgZ7swEfkXIggb1hVP5RHKIoBQP1Z8cMzT55w==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=DquuzUek; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9088D606A32A; Thu, 26 Nov 2026 02:30:08 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=DquuzUek
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795660207; b=icNpLkW0wcsA+TEkBrGB7LIS+8DOsVigLKnleYabuJIHu1Ab7LgdPmX9vSYozquSc4v/ CB2V1ryfipzi+vUJQIk01BJ89QTlQgP8tb5F4+//GLtBVej5hC2V/Bp3H5KRZQFL6nvVQ SehuqD5AoSH+NjGyPdFEpPEyvLJyZby1KRLsFIEuFJkL10uYT4coVGbnkQQHjfMflbgQb FQnksL+7oeaarXiaTlNN7LoyNHrRXXZP9EkurT8U3B5JumWungopNJJpOFFgnjmHtDaL1 CLsVhZ0W26kXMHk4xF3IhYJFFd3JcQvVyu4V4tO5oT+xhETD09hbdfU6nvMPGR6vRWw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795660207; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=sSkgDEwKeb73M6Ctumecjy/PEkv/0wl7wlEPouQB+So=; b=brLAO0vddqRgy96+Ln9rIEHI0uBkHLlLsJm0/GGrD/VDlP7DQdOEYvQdAkNZDboGQS6e FkuFOANNo0AIQpkfc4gs486zTeXclbNN5gTdsMbJhiwCmoiecZO/OgNdWpN0OKEIY14qN /4tlGdPe26P9PWRrS/jFbzqoNvIFLrFl5I2ursOEwqEyANWGvxKuAXI8mha6eG4kOnS2F MtpQ2X8WogZJa43bySGSdaGV8B/NqGC2vPcfy0Ui88CUFb0azQEibEZwmfwodlZjaZ2+K Gnm3qHvVsnDsX9WxYIa7vEIMW2A3oEtccjJ7KCNAW2dUfTT1XTRRB4p655UjDKDS6kg==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=DquuzUek; arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ADAE8606A321 for <netdev@vger.kernel.org>; Thu, 26 Nov 2026 02:30:07 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 44A831F000C4; Thu, 26 Nov 2026 02:30:07 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795660207; bh=sSkgDEwKeb73M6Ctumecjy/PEkv/0wl7wlEPouQB+So=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=DquuzUek1limL1SYqIAhzNOCMEfxHAjifRlSk3/jbu0XO9CimPTxT/6YPPrviKYP3 zUryDgJGmSS6sLG1n9pgjS0YJGWJr6U+UwwDjU5iG41OXqgJHBjwDU+xHMjNMNN8QR 5AxXJ8iSu5kM4hOWKST+CY6IsvhbzOBcmST1EZDpg4S4BDEKS0YM87JPkkGKu6ZqAs 6MOMfIaeH8axGqSk3NQhcqchSWZU4zXEK5n7hzH7xxREr6Z+3yblZ6l3SVJKGdwv/e FT9Bh+zl+6pLvj0H0R50Klrn2n+6NLmXihoVnQ2zAQFi9AtQAOUADq7znfSE0sntyg htDYy6ZdJf8Hg==
X-Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 3A2C43809A24; Thu, 26 Nov 2026 02:30:07 +0000 (UTC)
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <20261123091156.58359-1-edumazet@kernel.org>
X-Cc: davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, willemb@google.com, kuniyu@google.com, horms@kernel.org, netdev@vger.kernel.org, jiayuan.chen@linux.dev