Re: Query regarding deadlock involving cgroup_threadgroup_rwsem and cpu_hotplug_lock

From: Mukesh Ojha
Date: Mon Aug 15 2022 - 07:01:12 EST




On 8/15/2022 3:09 PM, Michal Koutný wrote:
On Mon, Aug 15, 2022 at 05:25:52PM +0800, Xuewen Yan <xuewen.yan94@xxxxxxxxx> wrote:
Your means is that the problem should be fixed by [1]+[2]'s revert ?

I understood that was already the combination you had tested.
You write in [T] that [1] alone causes (another) deadlock and therefore
the revert of [2] was suggested.

I just tested the case which reverted the [2]. Need I test with [1] and [2]?

It'd be better (unless you haven't already :-), my reasoning is for the
[1]+[2] combo.

Feel free to add my

Reported-and-tested-by: Mukesh Ojha <quic_mojha@xxxxxxxxxxx>

-Mukesh

Thanks,
Michal

[T] https://lore.kernel.org/r/CAB8ipk_gCLtvEahsp2DvPJf4NxRsM8WCYmmH=yTd7zQE+81_Yg@xxxxxxxxxxxxxx/