net: remove some rcu_bh cruft
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ipv6: flowlabel: do not disable BH where not needednet/ | +27 | 0 replies | Applied |
| 2/3 | neighbour: switch to standard rcu, instead of rcu_bhinclude/ include/ include/ +10 more | +87 | 0 replies | Applied |
| 3/3 | net: remove rcu_dereference_bh_rtnl()include/ | +0 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net-next 0/3] net: remove some rcu_bh cruft
There is no point using rcu_bh variant hoping to free objects faster, especially hen using call_rcu() or kfree_rcu().
Disabling/enabling BH has a non-zero cost, and adds distracting hot spots in kernel profilesm eg in ip6_xmit().
Eric Dumazet (3):
ipv6: flowlabel: do not disable BH where not needed
neighbour: switch to standard rcu, instead of rcu_bh
net: remove rcu_dereference_bh_rtnl()
include/linux/rtnetlink.h | 10 ------ include/net/arp.h | 8 ++--- include/net/ndisc.h | 12 ++++---- include/net/neighbour.h | 6 ++-- include/net/nexthop.h | 6 ++-- net/core/filter.c | 16 ++++++---- net/core/neighbour.c | 64 +++++++++++++++++++-------------------- net/ipv4/fib_semantics.c | 4 +-- net/ipv4/ip_output.c | 6 ++-- net/ipv4/nexthop.c | 8 ++--- net/ipv4/route.c | 4 +-- net/ipv6/addrconf.c | 14 ++++----- net/ipv6/ip6_flowlabel.c | 51 ++++++++++++++++--------------- net/ipv6/ip6_output.c | 10 +++--- net/ipv6/route.c | 12 ++++---- 15 files changed, 114 insertions(+), 117 deletions(-)
Signature · 1 line
2.40.0.rc2.332.ga46443480c-goog