]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Merge branch 'net-avoid-slow-rcu'
authorDavid S. Miller <davem@davemloft.net>
Mon, 12 Feb 2024 12:17:03 +0000 (12:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Feb 2024 12:17:03 +0000 (12:17 +0000)
commit0f37666d87d2dea42ec21776c3d562b7cbd71612
tree4dc5ebc60fcc3e6bdfa134b20016b41b5c6fa3b1
parent03f568a1577aaaabc6145cbbbe6adc009d82fb61
parent1ebb85f9c03de0b66c334de219f224159e24e549
Merge branch 'net-avoid-slow-rcu'

Eric Dumazet says:

====================
net: avoid slow rcu synchronizations in cleanup_net()

RTNL is a contended mutex, we prefer to expedite rcu synchronizations
in contexts we hold RTNL.

Similarly, cleanup_net() is a single threaded critical component and
should also use synchronize_rcu_expedited() even when not holding RTNL.

First patch removes a barrier with no clear purpose in ipv6_mc_down()
====================

Signed-off-by: David S. Miller <davem@davemloft.net>