diff options
| author | Eric Dumazet <[email protected]> | 2024-02-09 15:31:01 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2024-02-12 12:17:03 +0000 |
| commit | 1ebb85f9c03de0b66c334de219f224159e24e549 (patch) | |
| tree | 4dc5ebc60fcc3e6bdfa134b20016b41b5c6fa3b1 /tools/perf/scripts/python/Perf-Trace-Util | |
| parent | 78c3253f27e579f7f3a1f5c0cb8266693a7b4f41 (diff) | |
netfilter: conntrack: expedite rcu in nf_conntrack_cleanup_net_list
nf_conntrack_cleanup_net_list() is calling synchronize_net()
while RTNL is not held. This effectively calls synchronize_rcu().
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 faster, in order to free memory and various
sysfs and procfs entries as fast as possible.
Signed-off-by: Eric Dumazet <[email protected]>
Cc: Pablo Neira Ayuso <[email protected]>
Cc: Jozsef Kadlecsik <[email protected]>
Cc: Florian Westphal <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util')
0 files changed, 0 insertions, 0 deletions