Commit 36c6e17
sched/core: Print out straggler tasks in sched_cpu_dying()
Since commit
1cf12e0 ("sched/hotplug: Consolidate task migration on CPU unplug")
tasks are expected to move themselves out of a out-going CPU. For most
tasks this will be done automagically via BALANCE_PUSH, but percpu kthreads
will have to cooperate and move themselves away one way or another.
Currently, some percpu kthreads (workqueues being a notable exemple) do not
cooperate nicely and can end up on an out-going CPU at the time
sched_cpu_dying() is invoked.
Print the dying rq's tasks to shed some light on the stragglers.
Signed-off-by: Valentin Schneider <valentin.schneider@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Valentin Schneider <valentin.schneider@arm.com>
Tested-by: Valentin Schneider <valentin.schneider@arm.com>
Link: https://lkml.kernel.org/r/20210113183141.11974-1-valentin.schneider@arm.com1 parent 9c7d901 commit 36c6e17
1 file changed
Lines changed: 23 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7574 | 7574 | | |
7575 | 7575 | | |
7576 | 7576 | | |
| 7577 | + | |
| 7578 | + | |
| 7579 | + | |
| 7580 | + | |
| 7581 | + | |
| 7582 | + | |
| 7583 | + | |
| 7584 | + | |
| 7585 | + | |
| 7586 | + | |
| 7587 | + | |
| 7588 | + | |
| 7589 | + | |
| 7590 | + | |
| 7591 | + | |
| 7592 | + | |
| 7593 | + | |
| 7594 | + | |
| 7595 | + | |
7577 | 7596 | | |
7578 | 7597 | | |
7579 | 7598 | | |
| |||
7583 | 7602 | | |
7584 | 7603 | | |
7585 | 7604 | | |
7586 | | - | |
| 7605 | + | |
| 7606 | + | |
| 7607 | + | |
| 7608 | + | |
7587 | 7609 | | |
7588 | 7610 | | |
7589 | 7611 | | |
| |||
0 commit comments