1801c1419SIngo Molnar // SPDX-License-Identifier: GPL-2.0-only 2801c1419SIngo Molnar /* 3801c1419SIngo Molnar * These are various utility functions of the scheduler, 4801c1419SIngo Molnar * built in a single compilation unit for build efficiency reasons. 5801c1419SIngo Molnar * 6801c1419SIngo Molnar * ( Incidentally, the size of the compilation unit is roughly 7801c1419SIngo Molnar * comparable to core.c, fair.c, smp.c and policy.c, the other 8801c1419SIngo Molnar * big compilation units. This helps balance build time, while 9801c1419SIngo Molnar * coalescing source files to amortize header inclusion 10801c1419SIngo Molnar * cost. ) 11801c1419SIngo Molnar */ 12801c1419SIngo Molnar 13801c1419SIngo Molnar #include "sched.h" 14801c1419SIngo Molnar #include "sched-pelt.h" 15*b9e9c6caSIngo Molnar #include "stats.h" 16*b9e9c6caSIngo Molnar #include "autogroup.h" 17801c1419SIngo Molnar 18801c1419SIngo Molnar #include <linux/sched_clock.h> 19801c1419SIngo Molnar 20801c1419SIngo Molnar #include "clock.c" 21801c1419SIngo Molnar 22801c1419SIngo Molnar #ifdef CONFIG_CGROUP_CPUACCT 23801c1419SIngo Molnar # include "cpuacct.c" 24801c1419SIngo Molnar #endif 25801c1419SIngo Molnar 26801c1419SIngo Molnar #ifdef CONFIG_CPU_FREQ 27801c1419SIngo Molnar # include "cpufreq.c" 28801c1419SIngo Molnar #endif 29801c1419SIngo Molnar 30801c1419SIngo Molnar #ifdef CONFIG_CPU_FREQ_GOV_SCHEDUTIL 31801c1419SIngo Molnar # include "cpufreq_schedutil.c" 32801c1419SIngo Molnar #endif 33801c1419SIngo Molnar 34801c1419SIngo Molnar #ifdef CONFIG_SCHED_DEBUG 35801c1419SIngo Molnar # include "debug.c" 36801c1419SIngo Molnar #endif 37801c1419SIngo Molnar 38801c1419SIngo Molnar #ifdef CONFIG_SCHEDSTATS 39801c1419SIngo Molnar # include "stats.c" 40801c1419SIngo Molnar #endif 41801c1419SIngo Molnar 42801c1419SIngo Molnar #include "loadavg.c" 43801c1419SIngo Molnar #include "completion.c" 44801c1419SIngo Molnar #include "swait.c" 45801c1419SIngo Molnar #include "wait_bit.c" 46801c1419SIngo Molnar #include "wait.c" 47801c1419SIngo Molnar 48801c1419SIngo Molnar #ifdef CONFIG_SMP 49801c1419SIngo Molnar # include "cpupri.c" 50801c1419SIngo Molnar # include "stop_task.c" 51801c1419SIngo Molnar # include "topology.c" 52801c1419SIngo Molnar #endif 53801c1419SIngo Molnar 54801c1419SIngo Molnar #ifdef CONFIG_SCHED_CORE 55801c1419SIngo Molnar # include "core_sched.c" 56801c1419SIngo Molnar #endif 57801c1419SIngo Molnar 58801c1419SIngo Molnar #ifdef CONFIG_PSI 59801c1419SIngo Molnar # include "psi.c" 60801c1419SIngo Molnar #endif 61801c1419SIngo Molnar 62801c1419SIngo Molnar #ifdef CONFIG_MEMBARRIER 63801c1419SIngo Molnar # include "membarrier.c" 64801c1419SIngo Molnar #endif 65801c1419SIngo Molnar 66801c1419SIngo Molnar #ifdef CONFIG_CPU_ISOLATION 67801c1419SIngo Molnar # include "isolation.c" 68801c1419SIngo Molnar #endif 69801c1419SIngo Molnar 70801c1419SIngo Molnar #ifdef CONFIG_SCHED_AUTOGROUP 71801c1419SIngo Molnar # include "autogroup.c" 72801c1419SIngo Molnar #endif 73