Batched netns improvements.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | net: Add support for batching network namespace cleanupsinclude/ net/ | +63 | 0 replies | |
| 2/7 | net: Move network device exit batchingnet/ net/ | +25 | 0 replies | |
| 3/7 | net: Allow xfrm_user_net_exit to batch efficiently.include/ net/ | +11 | 0 replies | |
| 4/7 | netns: Add an explicit rcu_barrier to unregister_pernet_{device|subsys}net/ | +6 | 0 replies | |
| 5/7 | net: Allow fib_rule_unregister to batchinclude/ net/ net/ +2 more | +57 | 0 replies | |
| 6/7 | net: Use rcu lookups in inet_twsk_purge.net/ | +24 | 1 reply | |
| 7/7 | net: Batch inet_twsk_purgeinclude/ net/ net/ +1 more | +24 | 4 replies |
Reviews trailers per patch
1 of 7 patches has a Reviewed-by or Acked-by.
| Patch | Eric Dumazet |
|---|---|
| 1/7 | |
| 2/7 | |
| 3/7 | |
| 4/7 | |
| 5/7 | |
| 6/7 | A-b |
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/7] Batched netns improvements.
This series of patches takes my simple 4k network namespace exit test from about 44s to 1.6s, with a minuscule increase in code side.
While batching has given me big improvements there are a few changes in there that improve the performance of cleaning up a single network namespace.
Eric
include/net/fib_rules.h | 3 +- include/net/inet_timewait_sock.h | 6 +- include/net/net_namespace.h | 2 + include/net/netns/xfrm.h | 1 + net/core/dev.c | 25 +++++++ net/core/fib_rules.c | 36 +++++++++- net/core/net_namespace.c | 138 ++++++++++++++++---------------------- net/decnet/dn_rules.c | 22 +++--- net/ipv4/fib_rules.c | 12 +--- net/ipv4/inet_timewait_sock.c | 45 ++++++++----- net/ipv4/tcp_ipv4.c | 11 ++- net/ipv6/fib6_rules.c | 22 ++---- net/ipv6/tcp_ipv6.c | 11 ++- net/xfrm/xfrm_user.c | 18 +++-- 14 files changed, 200 insertions(+), 152 deletions(-)