]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
sched_ext: Add the @sch parameter to ext_idle helpers
authorTejun Heo <tj@kernel.org>
Tue, 23 Sep 2025 19:03:26 +0000 (09:03 -1000)
committerTejun Heo <tj@kernel.org>
Tue, 23 Sep 2025 19:03:26 +0000 (09:03 -1000)
commit2407bae23d1e93186afccb6a6a98d9bd6a7c8a74
tree789d7966b156301a7e2e2205bb2b8c6b4c80ba3f
parentfc6a93aa623f3e40bcddbacf5fc60d5aceda9cab
sched_ext: Add the @sch parameter to ext_idle helpers

In preparation for multiple scheduler support, add the @sch parameter to
validate_node(), check_builtin_idle_enabled() and select_cpu_from_kfunc(),
and update their callers to read $scx_root, verify that it's not NULL and
pass it in. The passed in @sch parameter is not used yet.

Reviewed-by: Andrea Righi <arighi@nvidia.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/sched/ext_idle.c