diff options
author | Tejun Heo <tj@kernel.org> | 2024-07-08 09:39:48 -1000 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2024-07-08 09:39:48 -1000 |
commit | e196c908f92795e76377d2392a16f9fd5d508a61 (patch) | |
tree | 2233b7e01ec7c8ac823336fba6faa83280caeff1 /init | |
parent | 744d83601ffa11ebbca52c0ec0b039e269d05054 (diff) | |
download | lwn-e196c908f92795e76377d2392a16f9fd5d508a61.tar.gz lwn-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 <tj@kernel.org>
Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: David Vernet <void@manifault.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions