aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2022-02-07 20:50:38 -0800
committerJakub Kicinski <[email protected]>2022-02-08 20:41:35 -0800
commitee403248fa6db5ca23031fc51b06284d6855cd02 (patch)
treeb9da4e602b344fa938491f0d4c45e1c6c8cc1d85 /tools/perf/scripts/python/export-to-postgresql.py
parent16a41634accacb2b3eee3580a0aef2da0f15aabd (diff)
net: remove default_device_exit()
For some reason default_device_ops kept two exit method: 1) default_device_exit() is called for each netns being dismantled in a cleanup_net() round. This acquires rtnl for each invocation. 2) default_device_exit_batch() is called once with the list of all netns int the batch, allowing for a single rtnl invocation. Get rid of the .exit() method to handle the logic from default_device_exit_batch(), to decrease the number of rtnl acquisition to one. Signed-off-by: Eric Dumazet <[email protected]> Reviewed-by: David Ahern <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions