Re: [RFC][PATCH] cpu/hotplug: wait for cpuset_hotplug_work to finish on cpu online

From: Daniel Jordan
Date: Tue Dec 08 2020 - 21:43:11 EST


Peter Zijlstra <peterz@xxxxxxxxxxxxx> writes:
>> The nature of this bug is also described here (with different consequences):
>> https://lore.kernel.org/lkml/20200211141554.24181-1-qais.yousef@xxxxxxx/
>
> Yeah, pesky deadlocks.. someone was going to try again.

I dug up the synchronous patch

https://lore.kernel.org/lkml/1579878449-10164-1-git-send-email-prsood@xxxxxxxxxxxxxx/

but surprisingly wasn't able to reproduce the lockdep splat from

https://lore.kernel.org/lkml/F0388D99-84D7-453B-9B6B-EEFF0E7BE4CC@xxxxxx/

even though I could hit it a few weeks ago. I'm going to try to mess
with it later, but don't let me hold this up.