Re: [PATCH] rhashtable: Fix potential deadlock by moving schedule_work outside lock
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2024-12-21 09:07:12
Also in:
lkml
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2024-12-21 09:07:12
Also in:
lkml
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 [off-list ref] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt