Re: Hung tasks due to a AB-BA deadlock between the leds_list_lock rwsem and the rtnl mutex

From: Hans de Goede
Date: Fri Jun 07 2024 - 06:23:58 EST


Hi Gene,

On 6/6/24 4:25 PM, Genes Lists wrote:
> On Thu, 2024-06-06 at 06:39 -0700, Jakub Kicinski wrote:
>> On Thu, 6 Jun 2024 15:12:54 +0200 Andrew Lunn wrote:
>>>> So it has been almost a week and no reply from Heiner. Since this is
>>>> causing real issues for users out there I think a revert of 66601a29bb23
>>>> should be submitted to Linus and then backported to the stable kernels.
>>>> to fix the immediate issue at hand. 
>>>
>>> Agreed.
>>
>> Please submit..
>
> I assume this deadlock is unrelated to the filesystem stalls reported here:
>
>    https://lore.kernel.org/lkml/da8710eddca32677cf3c195000416121045eb811.camel@xxxxxxxxxxxx/ <https://lore.kernel.org/lkml/da8710eddca32677cf3c195000416121045eb811.camel@xxxxxxxxxxxx/>

Right that one is unrelated, but the revert which I just submitted should
fix your other report:

https://lore.kernel.org/all/9d189ec329cfe68ed68699f314e191a10d4b5eda.camel@xxxxxxxxxxxx/

I believe you have already worked around that one by blacklisting
the ledtrig-netdev module.

Regards,

Hans