Re: [PATCH] rhashtable: Fix potential deadlock by moving schedule_work outside lock

From: Herbert Xu
Date: Sat Dec 21 2024 - 04:07:32 EST


On Thu, Dec 12, 2024 at 08:33:31PM +0800, Herbert Xu wrote:
>
> The growth check should stay with the atomic_inc. Something like
> this should work:

OK I've applied your patch with the atomic_inc move.

Thanks,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt