[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241004134720.579244-1-edumazet@google.com>
Date: Fri, 4 Oct 2024 13:47:16 +0000
From: Eric Dumazet <edumazet@...gle.com>
To: "David S . Miller" <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>
Cc: David Ahern <dsahern@...nel.org>, Kuniyuki Iwashima <kuniyu@...zon.com>,
Alexandre Ferrieux <alexandre.ferrieux@...nge.com>, netdev@...r.kernel.org,
eric.dumazet@...il.com, Eric Dumazet <edumazet@...gle.com>
Subject: [PATCH net-next 0/4] ipv4: preliminary work for per-netns RTNL
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(-)
--
2.47.0.rc0.187.ge670bccf7e-goog
Powered by blists - more mailing lists