net: avoid slow rcu synchronizations in cleanup_net()
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 6 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | ipv6: mcast: remove one synchronize_net() barrier in ipv6_mc_down()net/ | +0 | 0 replies | Applied |
| 2/6 | net: use synchronize_net() in dev_change_name()net/ | +1 | 0 replies | Applied |
| 3/6 | bridge: vlan: use synchronize_net() when holding RTNLnet/ | +2 | 1 reply | Applied |
| 4/6 | ipv4/fib: use synchronize_net() when holding RTNLnet/ | +1 | 1 reply | Applied |
| 5/6 | net: use synchronize_rcu_expedited in cleanup_net()net/ | +1 | 0 replies | Applied |
| 6/6 | netfilter: conntrack: expedite rcu in nf_conntrack_cleanup_net_listnet/ | +1 | 0 replies | Applied |
Reviews trailers per patch
2 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Nikolay Aleksandrov | David Ahern |
|---|---|---|
| 1/6 | ||
| 2/6 | ||
| 3/6 | A-b | |
| 4/6 | R-b | |
| 5/6 | ||
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 0/6] net: avoid slow rcu synchronizations in cleanup_net()
RTNL is a contended mutex, we prefer to expedite rcu synchronizations in contexts we hold RTNL.
Similarly, cleanup_net() is a single threaded critical component and should also use synchronize_rcu_expedited() even when not holding RTNL.
First patch removes a barrier with no clear purpose in ipv6_mc_down()
Eric Dumazet (6):
ipv6: mcast: remove one synchronize_net() barrier in ipv6_mc_down()
net: use synchronize_net() in dev_change_name()
bridge: vlan: use synchronize_net() when holding RTNL ipv4/fib: use synchronize_net() when holding RTNL
net: use synchronize_rcu_expedited in cleanup_net()
netfilter: conntrack: expedite rcu in nf_conntrack_cleanup_net_list
net/bridge/br_vlan.c | 4 ++-- net/core/dev.c | 2 +- net/core/net_namespace.c | 2 +- net/ipv4/fib_trie.c | 2 +- net/ipv6/mcast.c | 1 - net/netfilter/nf_conntrack_core.c | 2 +- 6 files changed, 6 insertions(+), 7 deletions(-)
Signature · 1 line
2.43.0.687.g38aa6559b0-goog