[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b7473f0a-6f0b-434c-ae6e-3505c4b7e5db@linux.dev>
Date: Tue, 14 Jan 2025 14:57:42 -0800
From: Jesse Brandeburg <jesse.brandeburg@...ux.dev>
To: Eric Dumazet <edumazet@...gle.com>, "David S . Miller"
<davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>
Cc: netdev@...r.kernel.org, Simon Horman <horms@...nel.org>,
eric.dumazet@...il.com, "jbrandeb@...nel.org" <jbrandeb@...nel.org>
Subject: Re: [PATCH v3 net-next 1/5] net: expedite synchronize_net() for
cleanup_net()
On 1/14/25 12:55 PM, Eric Dumazet wrote:
> cleanup_net() is the single thread responsible
> for netns dismantles, and a serious bottleneck.
>
> Before we can get per-netns RTNL, make sure
> all synchronize_net() called from this thread
> are using rcu_synchronize_expedited().
>
> v3: deal with CONFIG_NET_NS=n
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Seems like a good cleanup!
Reviewed-by: Jesse Brandeburg <jbrandeburg@...udflare.com>
Powered by blists - more mailing lists