Thread (5 messages) 5 messages, 3 authors, 2026-09-10

Re: [PATCH net-next] net: run netdev work under the ops-compat lock

flat view

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-09-10 08:01:07
Also in: linux-doc

Hello:

This patch was applied to netdev/net-next.git (main)
by Paolo Abeni [off-list ref]:

On Fri,  4 Sep 2026 11:00:58 -0700 you wrote:
netdev_work_proc() took rtnl_lock() for the whole batch, forcing
even ops-locked drivers onto rtnl just to run their rx_mode / ndo_work
callbacks. Take the per-device ops-compat lock instead: the instance
lock for ops-locked drivers, rtnl_lock for the rest. That's what the
callbacks already assert (e.g. netif_rx_mode_run() asserts
netdev_assert_locked_ops_compat()), and non-ops-locked work
such as vlan ndo_work keeps rtnl, since its compat lock resolves
to rtnl anyway.

[...]
Here is the summary with links:
  - [net-next] net: run netdev work under the ops-compat lock
    https://git.kernel.org/netdev/net-next/c/5a81c72ef9ad

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help