Re: WARNING at kernel/sched/core.c:2013 migration_cpu_stop+0x2e3/0x330

From: Oleksandr Natalenko
Date: Mon Nov 16 2020 - 05:33:26 EST


On 16.11.2020 11:31, Valentin Schneider wrote:
On 16/11/20 10:27, Oleksandr Natalenko wrote:
Hi.
[...]
Not sure whether the check is legitimate, but FWIW I've managed to put a
test task [1] (it spawns a lot of threads and applies affinity) into a
permanent unkillable D state here:

```
[<0>] affine_move_task+0x2d3/0x620
[<0>] __set_cpus_allowed_ptr+0x164/0x210
[<0>] sched_setaffinity+0x21a/0x300
[<0>] __x64_sys_sched_setaffinity+0x8c/0xc0
[<0>] do_syscall_64+0x33/0x40
[<0>] entry_SYSCALL_64_after_hwframe+0x44/0xa9
```
[...]

I'm not positive about this being directly related to the original
report, but I think it is still worth mentioning.


Aye, thanks, that one should be fixed by:

https://lore.kernel.org/r/20201113112414.2569-1-valentin.schneider@xxxxxxx

Great, thanks, I'll pick it up now.


Thanks.

[1] https://gitlab.com/post-factum/burn_scheduler

--
Oleksandr Natalenko (post-factum)