Re: [syzbot] possible deadlock in wake_up_all_idle_cpus

From: Sebastian Andrzej Siewior
Date: Wed Oct 20 2021 - 02:32:37 EST


On 2021-10-19 22:27:41 [+0200], Peter Zijlstra wrote:
> On Tue, Oct 19, 2021 at 09:08:11PM +0200, Sebastian Andrzej Siewior wrote:
> > Does this do anything useful?
>
> I've got https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?h=sched/core&id=3dfddc2f0f76525218dd2d0c8725d9f21dd411e2
>
> There's like 3 or 4 threads on this :/ I just got a tested-by on that.

Yeah I saw a few emails and wanted to talk to the bot, assuming it would
keep quiet then.

for_each_possible_cpu looks big but is probably equal to online_cpu in
most cases.

Thanks ;)

Sebastian