xref: /linux/kernel/sched/build_policy.c (revision 2a52ca7c98960aafb0eca9ef96b2d0c932171357)
1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3  * These are the scheduling policy related scheduler files, built
4  * in a single compilation unit for build efficiency reasons.
5  *
6  * ( Incidentally, the size of the compilation unit is roughly
7  *   comparable to core.c and fair.c, the other two big
8  *   compilation units. This helps balance build time, while
9  *   coalescing source files to amortize header inclusion
10  *   cost. )
11  *
12  * core.c and fair.c are built separately.
13  */
14 
15 /* Headers: */
16 #include <linux/sched/clock.h>
17 #include <linux/sched/cputime.h>
18 #include <linux/sched/hotplug.h>
19 #include <linux/sched/posix-timers.h>
20 #include <linux/sched/rt.h>
21 
22 #include <linux/cpuidle.h>
23 #include <linux/jiffies.h>
24 #include <linux/kobject.h>
25 #include <linux/livepatch.h>
26 #include <linux/pm.h>
27 #include <linux/psi.h>
28 #include <linux/rhashtable.h>
29 #include <linux/seq_buf.h>
30 #include <linux/seqlock_api.h>
31 #include <linux/slab.h>
32 #include <linux/suspend.h>
33 #include <linux/tsacct_kern.h>
34 #include <linux/vtime.h>
35 #include <linux/percpu-rwsem.h>
36 
37 #include <uapi/linux/sched/types.h>
38 
39 #include "sched.h"
40 #include "smp.h"
41 
42 #include "autogroup.h"
43 #include "stats.h"
44 #include "pelt.h"
45 
46 /* Source code modules: */
47 
48 #include "idle.c"
49 
50 #include "rt.c"
51 
52 #ifdef CONFIG_SMP
53 # include "cpudeadline.c"
54 # include "pelt.c"
55 #endif
56 
57 #include "cputime.c"
58 #include "deadline.c"
59 
60 #ifdef CONFIG_SCHED_CLASS_EXT
61 # include "ext.c"
62 #endif
63 
64 #include "syscalls.c"
65