diff options
| author | Eric Dumazet <[email protected]> | 2024-02-09 15:31:00 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2024-02-12 12:17:03 +0000 |
| commit | 78c3253f27e579f7f3a1f5c0cb8266693a7b4f41 (patch) | |
| tree | 4476ffa5cfd0610635097325d6abf27966681840 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
| parent | 2cd0c51e3baf7aa49e802c06cb1b2ffa9c82fbe1 (diff) | |
net: use synchronize_rcu_expedited in cleanup_net()
cleanup_net() is calling synchronize_rcu() right before
acquiring RTNL.
synchronize_rcu() is much slower than synchronize_rcu_expedited(),
and cleanup_net() is currently single threaded. In many workloads
we want cleanup_net() to be fast, in order to free memory and various
sysfs and procfs entries as fast as possible.
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions