diff options
| author | Tejun Heo <[email protected]> | 2024-07-08 19:39:48 +0000 |
|---|---|---|
| committer | Tejun Heo <[email protected]> | 2024-07-08 19:39:48 +0000 |
| commit | e196c908f92795e76377d2392a16f9fd5d508a61 (patch) | |
| tree | 2233b7e01ec7c8ac823336fba6faa83280caeff1 /init/init_task.c | |
| parent | sched, sched_ext: Open code for_balance_class_range() (diff) | |
| download | kernel-e196c908f92795e76377d2392a16f9fd5d508a61.tar.gz kernel-e196c908f92795e76377d2392a16f9fd5d508a61.zip | |
sched, sched_ext: Move some declarations from kernel/sched/ext.h to sched.h
While sched_ext was out of tree, everything sched_ext specific which can be
put in kernel/sched/ext.h was put there to ease forward porting. However,
kernel/sched/sched.h is the better location for some of them. Relocate.
- struct sched_enq_and_set_ctx, sched_deq_and_put_task() and
sched_enq_and_set_task().
- scx_enabled() and scx_switched_all().
- for_active_class_range() and for_each_active_class(). sched_class
declarations are moved above the class iterators for this.
No functional changes intended.
Signed-off-by: Tejun Heo <[email protected]>
Suggested-by: Linus Torvalds <[email protected]>
Cc: David Vernet <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Diffstat (limited to 'init/init_task.c')
0 files changed, 0 insertions, 0 deletions
