[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <fddf59da-ce42-00a8-56ed-18672fa80f8c@blackwall.org>
Date: Fri, 18 Feb 2022 10:19:16 +0200
From: Nikolay Aleksandrov <razor@...ckwall.org>
To: Eric Dumazet <eric.dumazet@...il.com>,
"David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>
Cc: netdev <netdev@...r.kernel.org>,
Eric Dumazet <edumazet@...gle.com>,
Roopa Prabhu <roopa@...dia.com>
Subject: Re: [PATCH net-next] bridge: switch br_net_exit to batch mode
On 18/02/2022 09:01, Eric Dumazet wrote:
> From: Eric Dumazet <edumazet@...gle.com>
>
> cleanup_net() is competing with other rtnl users.
>
> Instead of calling br_net_exit() for each netns,
> call br_net_exit_batch() once.
>
> This gives cleanup_net() ability to group more devices
> and call unregister_netdevice_many() only once for all bridge devices.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Cc: Roopa Prabhu <roopa@...dia.com>
> Cc: Nikolay Aleksandrov <razor@...ckwall.org>
> ---
> net/bridge/br.c | 15 +++++++++------
> 1 file changed, 9 insertions(+), 6 deletions(-)
>
Thanks,
Acked-by: Nikolay Aleksandrov <razor@...ckwall.org>
Powered by blists - more mailing lists