aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_common.h
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2024-02-09 15:31:01 +0000
committerDavid S. Miller <[email protected]>2024-02-12 12:17:03 +0000
commit1ebb85f9c03de0b66c334de219f224159e24e549 (patch)
tree4dc5ebc60fcc3e6bdfa134b20016b41b5c6fa3b1 /drivers/net/ethernet/intel/ice/ice_common.h
parentnet: use synchronize_rcu_expedited in cleanup_net() (diff)
downloadkernel-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