]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sched_ext: Allow forcibly picking an scx task
authorAndrea Righi <arighi@nvidia.com>
Sat, 18 Oct 2025 14:10:14 +0000 (16:10 +0200)
committerTejun Heo <tj@kernel.org>
Sat, 18 Oct 2025 23:01:35 +0000 (13:01 -1000)
commit67fa319f5fff523a17993eafe990ad11aa5d6be9
tree733f5ac0681b74191c122b82ae19927ff9f09c0e
parent70d837c3e017a0dc2bc52abf07abfeebd006c946
sched_ext: Allow forcibly picking an scx task

Refactor pick_task_scx() adding a new argument to forcibly pick a
SCHED_EXT task, ignoring any higher-priority sched class activity.

This refactoring prepares the code for future scenarios, e.g., allowing
the ext dl_server to force a SCHED_EXT task selection.

No functional changes.

Suggested-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrea Righi <arighi@nvidia.com>
Reviewed-by: Emil Tsalapatis <emil@etsalapatis.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/sched/ext.c