linux-stable/kernel/sched
Steven Rostedt (VMware) 590d697963 sched: Force the address order of each sched class descriptor
In order to make a micro optimization in pick_next_task(), the order of the
sched class descriptor address must be in the same order as their priority
to each other. That is:

 &idle_sched_class < &fair_sched_class < &rt_sched_class <
 &dl_sched_class < &stop_sched_class

In order to guarantee this order of the sched class descriptors, add each
one into their own data section and force the order in the linker script.

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/157675913272.349305.8936736338884044103.stgit@localhost.localdomain
2020-06-25 13:45:43 +02:00
..
autogroup.c
autogroup.h
clock.c
completion.c
core.c sched/debug: Add new tracepoints to track util_est 2020-06-15 14:10:02 +02:00
cpuacct.c sched/cpuacct: Fix charge cpuacct.usage_sys 2020-05-19 20:34:14 +02:00
cpudeadline.c sched/deadline: Implement fallback mechanism for !fit case 2020-06-15 14:10:05 +02:00
cpudeadline.h
cpufreq_schedutil.c
cpufreq.c
cpupri.c
cpupri.h
cputime.c sched/cputime: Improve cputime_adjust() 2020-06-15 14:10:00 +02:00
deadline.c sched: Force the address order of each sched class descriptor 2020-06-25 13:45:43 +02:00
debug.c sched: Add rq::ttwu_pending 2020-05-28 10:54:16 +02:00
fair.c sched: Force the address order of each sched class descriptor 2020-06-25 13:45:43 +02:00
features.h
idle.c sched: Force the address order of each sched class descriptor 2020-06-25 13:45:43 +02:00
isolation.c isolcpus: Affine unbound kernel threads to housekeeping cpus 2020-06-15 14:10:03 +02:00
loadavg.c
Makefile
membarrier.c
pelt.c sched/pelt: Cleanup PELT divider 2020-06-15 14:10:06 +02:00
pelt.h sched/pelt: Cleanup PELT divider 2020-06-15 14:10:06 +02:00
psi.c psi: eliminate kthread_worker from psi trigger scheduling mechanism 2020-06-15 14:10:03 +02:00
rt.c sched: Force the address order of each sched class descriptor 2020-06-25 13:45:43 +02:00
sched-pelt.h
sched.h sched/deadline: Make DL capacity-aware 2020-06-15 14:10:05 +02:00
smp.h sched/headers: Split out open-coded prototypes into kernel/sched/smp.h 2020-05-28 11:03:20 +02:00
stats.c
stats.h
stop_task.c sched: Force the address order of each sched class descriptor 2020-06-25 13:45:43 +02:00
swait.c
topology.c sched: correct SD_flags returned by tl->sd_flags() 2020-06-15 14:10:04 +02:00
wait_bit.c
wait.c