[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6637f6f4-6cdf-4a5b-b464-bd99ae93f6a7@kernel.org>
Date: Fri, 26 Apr 2024 08:31:35 -0600
From: David Ahern <dsahern@...nel.org>
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, eric.dumazet@...il.com
Subject: Re: [PATCH net-next] ipv6: use call_rcu_hurry() in
fib6_info_release()
On 4/26/24 4:47 AM, Eric Dumazet wrote:
> This is a followup of commit c4e86b4363ac ("net: add two more
> call_rcu_hurry()")
>
> fib6_info_destroy_rcu() is calling nexthop_put() or fib6_nh_release()
>
> We must not delay it too much or risk unregister_netdevice/ref_tracker
> traces because references to netdev are not released in time.
>
> This should speedup device/netns dismantles when CONFIG_RCU_LAZY=y
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> ---
> include/net/ip6_fib.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Reviewed-by: David Ahern <dsahern@...nel.org>
Powered by blists - more mailing lists