diff options
| author | Zqiang <qiang.zhang@linux.dev> | 2026-03-25 06:11:00 +0300 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-03-25 07:21:15 +0300 |
| commit | 60d4b17e886a90e707eaa06f8b07539f603cec5b (patch) | |
| tree | 44798237a7ddd68d89b3cf7f0a40f506ade2fea4 /scripts/patch-kernel | |
| parent | 7ef26d62f3fd841fd18ab6fa93a6bc2de9d17dff (diff) | |
| download | linux-60d4b17e886a90e707eaa06f8b07539f603cec5b.tar.xz | |
sched_ext: Choose the right sch->ops.name to output in the print_scx_info()
The print_scx_info() always output scx_root structure's->ops.name,
but for built with CONFIG_EXT_SUB_SCHED=y kernels, the tasks may be
attach an sub scx_sched structure. this commit therefore use the
scx_task_sched_rcu() to correctly get scx_sched structure to output
ops.name, and drop state check.
Suggested-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Zqiang <qiang.zhang@linux.dev>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
