diff options
author | Eric Dumazet <edumazet@google.com> | 2022-02-18 10:01:50 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-02-19 19:20:12 +0300 |
commit | 36a29fb6b22d7fd74c43c83e33d1a077092df4aa (patch) | |
tree | 30ac37c79f34b9ebb70ea06ad8f0cc5e0a4f8627 /tools/perf/scripts/python/syscall-counts.py | |
parent | a7cc3464e6673fe39cc23fdf538fe2ac9b1ec5e7 (diff) | |
download | linux-36a29fb6b22d7fd74c43c83e33d1a077092df4aa.tar.xz |
bridge: switch br_net_exit to batch mode
cleanup_net() is competing with other rtnl users.
Instead of calling br_net_exit() for each netns,
call br_net_exit_batch() once.
This gives cleanup_net() ability to group more devices
and call unregister_netdevice_many() only once for all bridge devices.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Roopa Prabhu <roopa@nvidia.com>
Cc: Nikolay Aleksandrov <razor@blackwall.org>
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions