projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
a1e55f5
8962dac
)
Merge branch 'net-more-factorization-in-cleanup_net-paths'
author
Jakub Kicinski
<kuba@kernel.org>
Thu, 8 Feb 2024 02:55:15 +0000
(18:55 -0800)
committer
Jakub Kicinski
<kuba@kernel.org>
Thu, 8 Feb 2024 02:55:16 +0000
(18:55 -0800)
Eric Dumazet says:
====================
net: more factorization in cleanup_net() paths
This series is inspired by recent syzbot reports hinting to RTNL and
workqueue abuses.
rtnl_lock() is unfair to (single threaded) cleanup_net(), because
many threads can cause contention on it.
This series adds a new (struct pernet_operations) method,
so that cleanup_net() can hold RTNL longer once it finally
acquires it.
It also factorizes unregister_netdevice_many(), to further
reduce stalls in cleanup_net().
Link:
https://lore.kernel.org/netdev/CANn89iLJrrJs+6Vc==Un4rVKcpV0Eof4F_4w1_wQGxUCE2FWAg@mail.gmail.com/T/#u
https://lore.kernel.org/netdev/
170688415193
.5216.
10499830272732622816
@kwain/
====================
Link:
https://lore.kernel.org/r/20240206144313.2050392-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Trivial merge