[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c5cf5df5-a37e-2c34-f5c6-b34cc91cf911@gmail.com>
Date: Mon, 7 Feb 2022 20:24:48 -0800
From: David Ahern <dsahern@...il.com>
To: Eric Dumazet <eric.dumazet@...il.com>,
"David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>
Cc: netdev <netdev@...r.kernel.org>, David Ahern <dsahern@...nel.org>,
Eric Dumazet <edumazet@...gle.com>
Subject: Re: [PATCH net-next 08/11] ipmr: introduce ipmr_net_exit_batch()
On 2/7/22 9:17 AM, Eric Dumazet wrote:
> From: Eric Dumazet <edumazet@...gle.com>
>
> cleanup_net() is competing with other rtnl users.
>
> Avoiding to acquire rtnl for each netns before calling
> ipmr_rules_exit() gives chance for cleanup_net()
> to progress much faster, holding rtnl a bit longer.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Cc: David Ahern <dsahern@...nel.org>
> ---
> net/ipv4/ipmr.c | 20 +++++++++++++++-----
> 1 file changed, 15 insertions(+), 5 deletions(-)
>
Reviewed-by: David Ahern <dsahern@...nel.org>
Powered by blists - more mailing lists