Re: padata: Is padata_find_next() thread-safe?
From: Herbert Xu
Date: Thu Nov 06 2025 - 04:46:51 EST
On Thu, Nov 06, 2025 at 06:41:19PM +0900, Tetsuo Handa wrote:
>
> OK. But what is about the "Can a sequence shown below possible?" part?
It's a false positive, i.e., it cannot dead-lock as shown.
> Is using _nested(lock, 1) wrong?
That should kill this particular warning but there could still be
similar warnings if you treat these two locks as the same class.
Cheers,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt