Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

sched_ext: Add migration-disabled counter to error state dump

Include the task's migration-disabled counter when dumping task state
during an error exit.

This can help diagnose cases where tasks can get stuck, because they're
unable to migrate elsewhere.

tj: s/nomig/no_mig/ for readability and consistency with other keys.

Signed-off-by: Andrea Righi <arighi@nvidia.com>
Signed-off-by: Tejun Heo <tj@kernel.org>

authored by

Andrea Righi and committed by
Tejun Heo
ac6772e8 47d9f821

+2 -1
+2 -1
kernel/sched/ext.c
··· 4167 4167 p->scx.sticky_cpu, p->scx.holding_cpu, dsq_id_buf); 4168 4168 dump_line(s, " dsq_vtime=%llu slice=%llu weight=%u", 4169 4169 p->scx.dsq_vtime, p->scx.slice, p->scx.weight); 4170 - dump_line(s, " cpus=%*pb", cpumask_pr_args(p->cpus_ptr)); 4170 + dump_line(s, " cpus=%*pb no_mig=%u", cpumask_pr_args(p->cpus_ptr), 4171 + p->migration_disabled); 4171 4172 4172 4173 if (SCX_HAS_OP(sch, dump_task)) { 4173 4174 ops_dump_init(s, " ");