Re: [PATCH net-next V7 4/4] devlink: Apply eswitch mode boot defaults

From
Jiri Pirko <jiri@resnulli.us>
Date
2026-07-30 11:00:58
Also in
linux-doc, linux-rdma
Reply to
Jakub Kicinski, 2026-07-29
Thu, Jul 30, 2026 at 01:06:08AM +0200, kuba@kernel.org wrote:
On Wed, 29 Jul 2026 11:11:53 +0200 Jiri Pirko wrote:
quoted
quoted
Maybe a middle ground would be to add a dedicated devl_init_unlock()*
were we can stick such init? Slap a WARN_ON(!registered) in the normal
unlock? I don't want the normal unlock to grow in complexity like
rtnl_unlock ended up growing.  
Yep, that was +- my idea when I suggested this, to have this in a
separate helper.

devl_unlock_in_init()
?
Maybe "after_init()" ? "in" sounds like we can release it multiple
times but I think the idea is that it's the final, single "release 
into the wild" unlock.
ack
Thread (13 messages) 13 messages, 3 authors, last reply 2026-07-31
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help