sched_ext: Move built-in idle CPU selection policy to a separate file
authorAndrea Righi <arighi@nvidia.com>
Mon, 27 Jan 2025 22:27:21 +0000 (23:27 +0100)
committerTejun Heo <tj@kernel.org>
Mon, 27 Jan 2025 22:43:43 +0000 (12:43 -1000)
commit337d1b354a297155579dea970fff9dd10ed32f77
tree53de162dd24bc5e7102a9d13c983689412d10998
parent1626e5ef0b00386a4fd083fa7c46c8edbd75f9b4
sched_ext: Move built-in idle CPU selection policy to a separate file

As ext.c is becoming quite large, move the idle CPU selection policy to
separate files (ext_idle.c / ext_idle.h) for better code readability.

Moreover, group together all the idle CPU selection kfunc's to the same
btf_kfunc_id_set block.

No functional changes, this is purely code reorganization.

Suggested-by: Yury Norov <yury.norov@gmail.com>
Signed-off-by: Andrea Righi <arighi@nvidia.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
MAINTAINERS
kernel/sched/build_policy.c
kernel/sched/ext.c
kernel/sched/ext_idle.c [new file with mode: 0644]
kernel/sched/ext_idle.h [new file with mode: 0644]