[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <11039025-6386-444d-ad5f-5eea664bafd5@kernel.org>
Date: Fri, 4 Oct 2024 08:35:12 -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: Kuniyuki Iwashima <kuniyu@...zon.com>,
Alexandre Ferrieux <alexandre.ferrieux@...nge.com>, netdev@...r.kernel.org,
eric.dumazet@...il.com
Subject: Re: [PATCH net-next 0/4] ipv4: preliminary work for per-netns RTNL
On 10/4/24 7:47 AM, Eric Dumazet wrote:
> Inspired by 9b8ca04854fd ("ipv4: avoid quadratic behavior in
> FIB insertion of common address") and per-netns RTNL conversion
> started by Kuniyuki this week.
>
> ip_fib_check_default() can use RCU instead of a shared spinlock.
>
> fib_info_lock can be removed, RTNL is already used.
>
> fib_info_devhash[] can be removed in favor of a single
> pointer in net_device.
>
> Eric Dumazet (4):
> ipv4: remove fib_devindex_hashfn()
> ipv4: use rcu in ip_fib_check_default()
> ipv4: remove fib_info_lock
> ipv4: remove fib_info_devhash[]
>
> .../networking/net_cachelines/net_device.rst | 1 +
> include/linux/netdevice.h | 2 +
> net/ipv4/fib_semantics.c | 77 +++++++------------
> 3 files changed, 31 insertions(+), 49 deletions(-)
>
For the set:
Reviewed-by: David Ahern <dsahern@...nel.org>
Powered by blists - more mailing lists