diff options
author | Eric Dumazet <edumazet@google.com> | 2022-02-08 07:50:38 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-02-09 07:41:35 +0300 |
commit | ee403248fa6db5ca23031fc51b06284d6855cd02 (patch) | |
tree | b9da4e602b344fa938491f0d4c45e1c6c8cc1d85 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 16a41634accacb2b3eee3580a0aef2da0f15aabd (diff) | |
download | linux-ee403248fa6db5ca23031fc51b06284d6855cd02.tar.xz |
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 <edumazet@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions