From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B8B19606A32D for ; Tue, 1 Dec 2026 12:00:29 +0000 (UTC) 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=EmiWR/mz Received: from list by lists.xenproject.org with outflank-mailman.1508511.1701427 (Exim 4.92) (envelope-from ) id 1xYMWr-0001j4-5V; Tue, 01 Dec 2026 12:00:13 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 1508511.1701427; Tue, 01 Dec 2026 12:00:13 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1xYMWr-0001ix-2l; Tue, 01 Dec 2026 12:00:13 +0000 Received: by outflank-mailman (input) for mailman id 1508511; Tue, 01 Dec 2026 12:00:11 +0000 Received: from mx.expurgate.net ([195.190.135.20]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1xYMWp-0001iS-5b for xen-devel@lists.xenproject.org; Tue, 01 Dec 2026 12:00:11 +0000 Received: from mx.expurgate.net (helo=localhost) by mx.expurgate.net with esmtp id 1xYMWo-00CRaK-3l for xen-devel@lists.xenproject.org; Tue, 01 Dec 2026 13:00:10 +0100 Received: from [10.42.69.3] (helo=localhost) by localhost with ESMTP (eXpurgate MTA 0.9.1) (envelope-from ) id 6b0eb6c9-bab6-0a2a0a5309dd-0a2a4503e3ea-0 for ; Tue, 01 Dec 2026 13:00:09 +0100 Received: from [172.234.252.31] (helo=sea.source.kernel.org) by tlsNG-33051d.mxtls.expurgate.net with ESMTPS (eXpurgate 4.57.1) (envelope-from ) id 6b0eb6c8-fae8-0a2a45030019-aceafc1f95e4-3 for ; Tue, 01 Dec 2026 13:00:09 +0100 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id BCA7340858; Tue, 1 Dec 2026 12:00:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7D2A91F0092A; Tue, 1 Dec 2026 12:00:07 +0000 (UTC) Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 7186638068C0; Tue, 1 Dec 2026 12:00:07 +0000 (UTC) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Post: List-Help: List-Subscribe: , Precedence: list Sender: "Xen-devel" Authentication-Results: eu.smtp.expurgate.cloud; dkim=pass header.s=k20260515 header.d=kernel.org header.i="@kernel.org" header.h="Subject:From:Date:References:In-Reply-To:To:Cc" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796126407; bh=Ks8SFYKYvqilKcQztcm4gRlnRR6QNiuRKVpriPa4Wkk=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=EmiWR/mzb5NS8RV2NJj6TF9//WyhPW7WrIaZ26binZI6cjL26WvDh41aGCPl2/rQ3 zdO32Y2c+LZeDCYkOWkqpcmi3QKmegrxgAbVaM1YOaUAjk0zeexqpRmZZ/vKGrFR+X ICZ/mQlTTMvNKUtFLCDU8faiNZsnYAK4HUGj1VheUS1TJFcZs32yfLRmvQPk5LeunT JZKTX5ouggx8pSiAxmLy5nEIHYpKwwzMTfapbHrA9xyMUkxIl0mAztqQKaDpoLY2S3 mQ50kvdiiWek4TWSHREC3ma899ehaiacF2ZIWZ6FapUkLHlclUMFj0P4KywftWGzpD 18wG7LVpSy7Vw== Content-Type: text/plain; charset="utf-8" X-Archived-By: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net] xen-netfront: unregister the XDP rxq before destroying its page_pool From: patchwork-bot+netdevbpf@kernel.org Message-Id: <179612640599.224468.4845447770690951692.git-patchwork-notify@kernel.org> Date: Tue, 01 Dec 2026 12:00:05 +0000 References: <20261124091806.2736453-1-mark.syms@citrix.com> In-Reply-To: <20261124091806.2736453-1-mark.syms@citrix.com> To: Mark Syms Cc: jgross@suse.com, sstabellini@kernel.org, oleksandr_tyshchenko@epam.com, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, hawk@kernel.org, ast@kernel.org, daniel@iogearbox.net, john.fastabend@gmail.com, sdf@fomichev.me, netdev@vger.kernel.org, xen-devel@lists.xenproject.org, bpf@vger.kernel.org, stable@vger.kernel.org X-purgate-ID: tlsNG-33051d/1796126409-6F2C84E9-DE2792CC/0/0 X-purgate-type: clean X-purgate-size: 1039 X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_PASS,SPF_PASS, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Hello: This patch was applied to netdev/net.git (main) by Paolo Abeni : On Tue, 24 Nov 2026 09:18:06 +0000 you wrote: > Each receive queue registers its page_pool as the XDP memory model, > which takes a second reference on the pool. On disconnect, > xennet_disconnect_backend() calls page_pool_destroy() but never > unregisters the rxq, so the pool's user count never reaches zero and > the pool is never released, together with the receive buffers that > xennet_release_rx_bufs() has just recycled into it. Every > suspend/resume or backend reconnect therefore leaks one pool per > receive queue. The pool never begins shutdown, so the page_pool stall > warning does not fire and the leak is silent. > > [...] Here is the summary with links: - [net] xen-netfront: unregister the XDP rxq before destroying its page_pool https://git.kernel.org/netdev/net/c/98a283a1f3d6 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html