diff options
| author | Tejun Heo <tj@kernel.org> | 2026-06-29 12:55:48 -1000 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-06-30 04:08:18 -1000 |
| commit | b7d9c359e5cf867f7eb23df3bb1c6b9e58af24da (patch) | |
| tree | 56707ce20012f201df7df2b83fd9e205b145387a /Documentation/gpu/intel-display/git@git.tavy.me:linux.git | |
| parent | cb36d81e751173c4b59b5e561c596c925144ea48 (diff) | |
sched_ext: Don't warn on core-sched forced idle in put_prev_task_scx()
put_prev_task_scx() warns when a runnable task drops to a lower sched_class
without SCX_OPS_ENQ_LAST, on the assumption that balance_one() would have
kept it running. Core scheduling breaks that: a forced-idle SMT sibling
reschedules through the core_pick fast path in pick_next_task(), which skips
pick_task_scx() and thus balance_one(), so a runnable task can drop to idle
with ENQ_LAST unset.
Gate the warning on sched_cpu_cookie_match(): a cookie mismatch means core
scheduling forced the idle, while a match (or core scheduling off) still
catches a genuine missing-ENQ_LAST drop.
Fixes: 7c65ae81ea86 ("sched_ext: Don't call put_prev_task_scx() before picking the next task")
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Andrea Righi <arighi@nvidia.com>
Diffstat (limited to 'Documentation/gpu/intel-display/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
