[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aClY_Vy7RWOYD45A@mini-arch>
Date: Sat, 17 May 2025 20:50:21 -0700
From: Stanislav Fomichev <stfomichev@...il.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: davem@...emloft.net, netdev@...r.kernel.org, edumazet@...gle.com,
pabeni@...hat.com, andrew+netdev@...n.ch, horms@...nel.org,
kuniyu@...zon.com, sdf@...ichev.me
Subject: Re: [PATCH net-next v2] net: let lockdep compare instance locks
On 05/17, Jakub Kicinski wrote:
> AFAIU always returning -1 from lockdep's compare function
> basically disables checking of dependencies between given
> locks. Try to be a little more precise about what guarantees
> that instance locks won't deadlock.
>
> Right now we only nest them under protection of rtnl_lock.
> Mostly in unregister_netdevice_many() and dev_close_many().
>
> Signed-off-by: Jakub Kicinski <kuba@...nel.org>
> ---
> v2:
> - drop the speculative small rtnl handling
Acked-by: Stanislav Fomichev <sdf@...ichev.me>
Powered by blists - more mailing lists