Re: [PATCH] rhashtable: Fix potential deadlock by moving schedule_work outside lock
From: Breno Leitao
Date: Thu Jan 09 2025 - 05:15:46 EST
Hello Michael,
On Thu, Jan 09, 2025 at 03:16:03AM +0000, Michael Kelley wrote:
> From: Breno Leitao <leitao@xxxxxxxxxx> Sent: Thursday, January 2, 2025 2:16 AM
> >
> > On Sat, Dec 21, 2024 at 05:06:55PM +0800, Herbert Xu wrote:
> > > 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.
> >
> > Sorry, I was on vacation, and I am back now. Let me know if you need
> > anything further.
> >
> > Thanks for fixing it,
> > --breno
>
> Breno and Herbert --
>
> This patch seems to break things in linux-next. I'm testing with
> linux-next20250108 in a VM in the Azure public cloud. The Mellanox mlx5
> ethernet NIC in the VM is failing to get setup.
Thanks for reporting the issue. I started rolling this patch to Meta's
fleet, and we started seeing a similar problem. Altough not fully
understood yet.
I would suggest we revert this patch until we investigate further. I'll
prepare and send a revert patch shortly.
Sorry for the noise,
--breno