diff options
author | Eric Dumazet <edumazet@google.com> | 2024-02-06 17:43:03 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-02-08 05:55:11 +0300 |
commit | 6eedda01b2bfdcf427b37759e053dc27232f3af1 (patch) | |
tree | c17188e4815590038f1f4aa62f7b1408045e1655 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | f4b57b9dc96bbdb5beb2c93619c7904e4909b366 (diff) | |
download | linux-6eedda01b2bfdcf427b37759e053dc27232f3af1.tar.xz |
gtp: use exit_batch_rtnl() method
exit_batch_rtnl() is called while RTNL is held,
and devices to be unregistered can be queued in the dev_kill_list.
This saves one rtnl_lock()/rtnl_unlock() pair per netns
and one unregister_netdevice_many() call per netns.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Antoine Tenart <atenart@kernel.org>
Link: https://lore.kernel.org/r/20240206144313.2050392-8-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions