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 /drivers/net/ethernet/intel/ice/ice_common.h | |
| parent | net: use synchronize_rcu_expedited in cleanup_net() (diff) | |
| download | kernel-1ebb85f9c03de0b66c334de219f224159e24e549.tar.gz kernel-1ebb85f9c03de0b66c334de219f224159e24e549.zip | |
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 'drivers/net/ethernet/intel/ice/ice_common.h')
0 files changed, 0 insertions, 0 deletions
