[PATCHSET sched_ext/for-6.11] sched_ext: Clean up kernel/sched/ext.h

From: Tejun Heo
Date: Sat Jun 22 2024 - 21:51:10 EST


Hello,

While sched_ext was out of tree, kernel/sched/ext.h contained declarations
and definitions which aren't ideal but are helpful for forward porting. This
patchset cleans them up.

- for_balance_class_range() is removed and instead open coded in
put_prev_task_balance().

- Some declarations and definitions in kernel/sched/ext.h are moved to
kernel/sched/sched.h.

This patchset contains the following three patches:

0001-sched_ext-Minor-cleanups-in-kernel-sched-ext.h.patch
0002-sched-sched_ext-Open-code-for_balance_class_range.patch
0003-sched-sched_ext-Move-some-declarations-from-kernel-s.patch

and is also available in the following git branch:

git://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext.git scx-header-cleanups

diffstat follows. Thanks.

kernel/sched/core.c | 14 +++++++++++++-
kernel/sched/ext.c | 2 +-
kernel/sched/ext.h | 54 ++----------------------------------------------------
kernel/sched/sched.h | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------
4 files changed, 75 insertions(+), 60 deletions(-)

--
tejun