aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2024-02-06 14:43:03 +0000
committerJakub Kicinski <[email protected]>2024-02-07 18:55:11 -0800
commit6eedda01b2bfdcf427b37759e053dc27232f3af1 (patch)
treec17188e4815590038f1f4aa62f7b1408045e1655 /tools/perf/scripts/python
parentf4b57b9dc96bbdb5beb2c93619c7904e4909b366 (diff)
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 <[email protected]> Reviewed-by: Antoine Tenart <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions