Article View: linux.kernel.netdev
Article #5463Re: [PATCH net v4] xsk: freeze deferred pool teardown without blocking unregister
From: patchwork-bot+netdevbpf
Date: Tue, 20 Oct 2026 11:00
Date: Tue, 20 Oct 2026 11:00
29 lines
9181 bytes
9181 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:
On Wed, 14 Oct 2026 12:33:48 -0600 you wrote:
> Deferred pool destruction calls ndo_bpf() under RTNL. system_wq is
> not frozen during system sleep, so that callback can run after a
> device has suspended and gated its clocks. Use system_freezable_wq
> so running destruction finishes before device suspend and new work
> waits until process thaw.
>
> Keep assigned pools visible to NETDEV_UNREGISTER independently of
> the socket list. A released socket has already left that list, but
> its final pool put can queue destruction after workqueues freeze.
> A resume-time unregister would then wait for a device reference
> whose release cannot run until the resume completes.
>
> [...]
Here is the summary with links:
- [net,v4] xsk: freeze deferred pool teardown without blocking unregister
https://git.kernel.org/netdev/net/c/fece8420e76f
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179249400554.3664159.797074660449120287.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-349227-linux-kernel-netdev=dewy.ruReferences:
<20261014-xsk-suspend-teardown-v4-1-27795582e4a3@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-349227-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net v4] xsk: freeze deferred pool teardown without blocking unregister Date: Tue, 20 Oct 2026 11:00:05 +0000 Organization: Usenet Network Message-ID: <179249400554.3664159.797074660449120287.git-patchwork-notify@kernel.org> References: <20261014-xsk-suspend-teardown-v4-1-27795582e4a3@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="3840625"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:Ipyi81PvSCdj4AuSD+t+jlaqxow= sha256:8+aw7Q+D597sxL+nP9lB/mk7bU4qhAUT9cSdwfdy2a4= sha1:5dErsDWL2/Q+AXENagRDd+/DtfQ= sha256:BKR2L0y/QwUuFV0FYi+LH9xjEEV6Aay10181rqiXFVQ= 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 979F0110CC2; Tue, 20 Oct 2026 14:19:41 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.729 X-Spam-Status: No, score=-3.729 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.329, 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 kRAIy-WMbZFY; Tue, 20 Oct 2026 14:19:38 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-349227-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 sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4]) by mail.dewy.ru (Postfix) with ESMTPS id 30009110CBC; Tue, 20 Oct 2026 14:19:30 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sin.lore.kernel.org (Postfix) with ESMTP id 54A4D2C7C1; Tue, 20 Oct 2026 11:00:16 +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=1792494013; b=milIca0piaIY6rcZ7gywqgZ0gLr3Q8jTqB5EeD3navZvO95PfOfoqr0EjUt1Sobj5Gpw GvWW3FVt4oKKE4NK3c6Vnoo2IImYQ42kJVTd0jiZMVUWWwZFF66VLZZIrKeQgR7iwyBhY hZe/WkH8f5oiZ/kYH1pxiFIjeoSvzmw/75SpbAfo3krr7pdb+2ZbjwxtR/Wr1xEZaxfKu ImzqkEyp6JOKKzrw/kl9j0ztgaH/cmFBMex8THhuLc7al9gZdfwK8o4IO7FXeSFtSi1Cz UQvrfcb7XjDtVwg+HLCOTtlOzdXVuNtCoMT7gcVMKH/bVF142IsJvV7P1+Copde3Qmg== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792494013; 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=WiR8iAXAhvMxD9bk2dRxOA7ofdhVuuIXZY/5WPc5+Io=; b=ypgufWV5UfLZUNAz7IgSh9Oogcx1qB0uVU1IVG2scgvIzeBAW9hrs4yoiCPZ7cgx0Ylg jJ5sIZ9t8s/IdwCrLuRMJ6NnmDIQsO0MegOfceOnXLxToE1q6IkiJZVvGmkQ0ScoBBQKQ 93Rfe3QQ9GSRC3SUurXUToN1cC8UeO2hsiwcKJ8mRLf/iWtxdhrbOGg4tAp5u3GVuKkb0 V84v58nW6uYVFla797K1yd9RXt7mKqpnKgBOb7KHFau44P8WH+tP6dN2YMYWhQuKzmgBG VNsRjLNYpkjJAStQYPghhaL5B1k88LEg8aXafY5qqx8r0Jn5ihgmTudw7ohe49Yn+lQ== 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=J2hsQ4I3; 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 AD5D9606A328; Tue, 20 Oct 2026 11:00:13 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=J2hsQ4I3 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=1792494007; b=UhTFgq7Cqm9N65m1GbamvBPDl4xexSe4B/HGWyh3kV2QbIYvF+f7VbYbQWnIzN/3SZ8o 52sU5omxiAqlYMuINvh7jGKIE3C9J7Tc5n2gUBERPivEWQGLZTicJyj2bW8Nl0liyqEvs K9x+/xVQ1Z2S8ExpAfNY0iBDBUae/JZySz05zLxynQjxHywxsue1um/M+nOJVxC7Rbvz+ PgJlxYfZmMWH3+cAwbwApvPr4xPKCfPzQzQ8AzmxdBGy+tA4fsMUXdU5IbP1T58T/TG3j ApIHgiX8nMip24BJJw/myWNwQntzCieiJT5OO4Xr9T9kZhlXNLoS//Oz/DtKuZL6hXw== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792494007; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=WiR8iAXAhvMxD9bk2dRxOA7ofdhVuuIXZY/5WPc5+Io=; b=TYrfssFUuP1S5HOEGJgei7FSpWXE+q9BRxDfRbzZVjIanCt7skvyn/HaXtqESPcZ+0g+ igblgtheiGaF/yoG3/cZt+/eRgVCGhPPhvGOVp7HlVaJ7G60Cj0voLTo+/a5LLxU6N8u2 NFvY5G9wccySerFh7HGHe2ldons4N0KanO/ys+hJKut4hia21y7mSsi/NVkdyDSp2z5Nx +94UQl34+zEMKDRJCiotM8LRWh98+YgyJ4izLdIzxLhqVR1FUzftEA9W15wvhgZJATNeY Y0Q/G5YdW59ihYwqyn2Y4Y+mOZ20PZuMun2wV/S36PUiNwvbDT4rawA1EzGvfTD7GGQ== 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=J2hsQ4I3; 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 86A30606A31E; Tue, 20 Oct 2026 11:00:07 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0C0021F000C4; Tue, 20 Oct 2026 11:00:07 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1792494007; bh=WiR8iAXAhvMxD9bk2dRxOA7ofdhVuuIXZY/5WPc5+Io=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=J2hsQ4I3EKFxk5XZkEpJYTRkmC3UMQ1MOzl2RU9D9wJOXp4SGcdY1jcK834b+dJhY y2L1C4kzEHE58ed9JjwqiqOu6MlDGRJeYRg0PhjyJlUKaCul4uXjzzkMbv+GeQUrgk iF1nk5vpefK82APXTBnBQi5dzDQpVCUPJVE9YjxG0BGEQQ0hZ6vmuxj8A+2hmRccGA x7S6LDrITP//OZHdXAla9DQe4PakWY4vliJI0419JXRsyK6N+Wbo44JCOtCgmDf1Ax y1n4Hkua5gVTySBe6sADi3etZ7xx8E0QulsjtSByYUfsf/wWUXsCuj3KiElHGDngaa 5khjIe7CiSQaQ== 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 F16503808209; Tue, 20 Oct 2026 11:00:06 +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: <20261014-xsk-suspend-teardown-v4-1-27795582e4a3@gmail.com> X-Cc: netdev@vger.kernel.org, pabeni@redhat.com, kuba@kernel.org, magnus.karlsson@intel.com, maciej.fijalkowski@intel.com, sdf@fomichev.me, horms@kernel.org, ast@kernel.org, daniel@iogearbox.net, hawk@kernel.org, john.fastabend@gmail.com, andrew+netdev@lunn.ch, bpf@vger.kernel.org, edumazet@kernel.org, davem@davemloft.net, bjorn@kernel.org, linux-kernel@vger.kernel.org, kerneljasonxing@gmail.com