Article View: linux.kernel.netdev
Article #24687Re: [PATCH net-next] net: selftests: use netmem_get_pp_ref_count_ref() in net_test
From: patchwork-bot+netdevbpf
Date: Mon, 30 Nov 2026 16:10
Date: Mon, 30 Nov 2026 16:10
28 lines
8805 bytes
8805 bytes
Hello:
This patch was applied to netdev/net-next.git (main)
by Willem de Bruijn <willemb@google.com>:
On Mon, 23 Nov 2026 11:21:50 -0800 you wrote:
> The page_pool KUnit cases read page->pp_ref_count directly. The
> page_pool fields of struct page are being moved behind struct
> netmem_desc, and netmem_get_pp_ref_count_ref() is the accessor for the
> reference count.
>
> Read the count through a small helper built on that accessor, and pass
> it the netmem reference that the tests already hold for the page. The
> order-1 block of netmem_ref_test_pp_page() holds the reference of the
> tail page while it checks the count of the head page, so it converts the
> head page explicitly.
>
> [...]
Here is the summary with links:
- [net-next] net: selftests: use netmem_get_pp_ref_count_ref() in net_test
https://git.kernel.org/netdev/net-next/c/ac4607255f45
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179605502349.3403811.232712597189496192.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-374306-linux-kernel-netdev=dewy.ruReferences:
<20261123192150.4012944-1-nilayvaish@google.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-374306-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next] net: selftests: use netmem_get_pp_ref_count_ref() in net_test Date: Mon, 30 Nov 2026 16:10:23 +0000 Organization: Usenet Network Message-ID: <179605502349.3403811.232712597189496192.git-patchwork-notify@kernel.org> References: <20261123192150.4012944-1-nilayvaish@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="1464845"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:jFynqx7JF5hwVOKXuZdEL9d2cMs= sha256:EQ/kJhhdveUDiMi1MK+mydrB2O8AyEPKvmRXj/Gk5ts= sha1:NVnaASsqpyL5qdZhMAxUQruzB0M= sha256:nWUgqXkj94qd40nDf+AR6ljp84h+jZkb7Kaz/GKPSsw= 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 8C053125FF2; Mon, 30 Nov 2026 19:11:26 +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 ff97gxBnp1tP; Mon, 30 Nov 2026 19:11:21 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-374306-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id 546D9125FF0; Mon, 30 Nov 2026 19:11:13 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id B11753117B; Mon, 30 Nov 2026 16:10:27 +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=1796055026; b=nNTyU9+Jh6mUctIBc/dTClu0XOYpLcf5axNHOONt61GZw7Z7agXdC6t+j4GEgJMSqQ7W 2hdzuuZrUYOb1ztAbVYkuaMOuGFVBOcRBPt+97zR5UAqiclEC7lCYcZyG22uaCWXGCUiz 1nYDpdbZHvkqhduRe+PhhzVwRJ/jf3IAn/vIrlupf8KyQsDQ5mrPANqrWSUu6OZSxqUun si0dExV2UOQFTsCEPPJIXRf6egPKipocN9vZ3i8uiwq5PkAiBN69S1HOCjGhDh5Xxx3RY D+j4T99q5Qu0daGO81rLvnfc9NYj7NYUdJUgww+4MlGQI2qtxNqy5YqKGIVn1MglWFg== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796055026; 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=6E3gdKqheHGlMVXWVfuY1rE1/DV0qOugUs7jzGiKhsM=; b=irNjZ2Laxm/c1g9St8n8CjRqHCkKZHK83B0PEUmqZ5KHW134+noMyxNzn+rtr8HyKsgr 31qE9XydJyRyk2quz7hDfMRVHo2NbjDlmNzaNX4yRkGVyBFiRfMNgKoS6EaoHUFRXygLm sCAsiv/D0Rltaj3nY4lCIdktulXeRd5E+z3ud+w2qY8fkCmvQB9VoFJYPActoDXtnG10H sZmvfjbQDgxzfxz7YSSOvcicdyiRiqY9UwpHqxxyv3Otl5dhaRyWHS7E/+mjPBeUwghbC r1WWw3FEJupztV6cwAbMbHQTi03zqoec2uYrGWg9F/TogAIh8PRisd9C8I5EYhbbv7w== 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=gM4ZHLC+; 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 1A904606A33C; Mon, 30 Nov 2026 16:10:26 +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=gM4ZHLC+ 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=1796055025; b=TSEljpCrIRaeBW0Ntx4vsND8oBa0ikPHAyBum+vWjkzlg9wYFidtsLnr8qfZ83pnySts wNmwqaQILuWU0dmkT7kcZ6XR69OyILLTzQc2uvodWy3e83RdTztoiQRewo+zjAF9TKFdA FK71qVjzz329wTC/jFO39yl+yXd56YqAEs/tza9lEnLR++xK0IkTvhIPqfshx6kc6I6b7 8WNJE6Yz45quXOdE3spJlEDM1NWev+sMFx/VuvOiNxTNjKwxlac1gvwRWfAaezZ72X9Fl 7oaYZ6O0TNalzKx1gKvNSokZpZ3RiKVno92HEOUWL6SgJPLbFkkGMn1gEXQPGk6D0QQ== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796055025; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=6E3gdKqheHGlMVXWVfuY1rE1/DV0qOugUs7jzGiKhsM=; b=CvixP4iZehNvZJ1WC1e/3QmRFyIZFSMWNeqvrkG2IPrWkonKLDfnxK/VwLQSUMeyOp++ if0OEW+xqWA9srfjnYLni+Urv/R7eBBOnyyKTkVujU90ejUvaIoLBhKIWau/dWkQ4NxWJ r5/F7TCY1mRO/RUWjUVhw4TLsJP7LWZjB+RKCfxJ1CG4+U72t9ZpRTBqKhJq1ug861m4x fE1FDFCAYpAtKU/GTEt4n0uWFwv+cDfXVJMKztg4MGEr85xOKRUeJBv4WmCrR94ywnEZj mtrXXBnln+0DLWeu3duIXtBSnZbiN+5oZhcjXkA0/X+u4JWnaKrRr9q2DvfXhedu8Tw== 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=gM4ZHLC+; 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 3D936606A338 for <netdev@vger.kernel.org>; Mon, 30 Nov 2026 16:10:25 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id F2C141F00899; Mon, 30 Nov 2026 16:10:24 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796055025; bh=6E3gdKqheHGlMVXWVfuY1rE1/DV0qOugUs7jzGiKhsM=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=gM4ZHLC+1sMnJ9z/0k+qOQfi0FGGWFhc+utNXPrOqfPEMA9E97wH2deO67I/UuFma TdoKvRxzfdWvU1+054ds9kl1BKEryvnQaJ93w2WPXZ1aw/lLwj+F8J1ue178Lq4aGe Rej+pjCintFO9ekvEZDkFl9CpGWz0yMghCemc55S6mHMmf7Fx4j639UMlhmyjWmjhS MDhOHYol4k+L64q4I1pwBxSdYITSFymHbqAbDkLUxd/ARSomvGGMWoTA/LeSL6Eswl m36f9g2hmT61lWJtQ+nZAjeJOSqSUicV/JHH6agaBbZcDxrnggcE707WX2lW7Xh8J6 4b9LZwv36mR5A== 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 EB7FA39E4DAB; Mon, 30 Nov 2026 16:10:24 +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: <20261123192150.4012944-1-nilayvaish@google.com> X-Cc: davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, netdev@vger.kernel.org