diff options
| author | Tao Cui <cuitao@kylinos.cn> | 2026-08-25 10:35:57 +0800 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-08-31 11:53:53 -1000 |
| commit | 14eba6d98cabe625218fae0bfed8959d97226bc3 (patch) | |
| tree | e85d2536bd4125d406d7337d60283de501175807 /include/linux | |
| parent | 93d88ac4a448f200d18d1d71de0074b8e716bbee (diff) | |
| download | linux-14eba6d98cabe625218fae0bfed8959d97226bc3.tar.gz linux-14eba6d98cabe625218fae0bfed8959d97226bc3.zip | |
sched_ext: Rename tg->scx.idle to tg->scx.sched_idle
A bare "idle" reads as CPU idle state in sched_ext (ops.update_idle(),
idle cpumasks, scx_bpf_pick_idle_cpu()). cpu.idle is the cgroup analog
of the SCHED_IDLE policy, so name the task_group field sched_idle to
match scx_cgroup_init_args.sched_idle.
Pure rename, no behavior change.
Signed-off-by: Tao Cui <cuitao@kylinos.cn>
Reviewed-by: Andrea Righi <arighi@nvidia.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/sched/ext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sched/ext.h b/include/linux/sched/ext.h index 582d7cd4a983..7b9cdb65deef 100644 --- a/include/linux/sched/ext.h +++ b/include/linux/sched/ext.h @@ -323,7 +323,7 @@ struct scx_task_group { u64 bw_period_us; u64 bw_quota_us; u64 bw_burst_us; - bool idle; + bool sched_idle; #endif }; |
