2022-02-22 20:46:03 +08:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
/*
|
|
|
|
* These are the scheduling policy related scheduler files, built
|
|
|
|
* in a single compilation unit for build efficiency reasons.
|
|
|
|
*
|
|
|
|
* ( Incidentally, the size of the compilation unit is roughly
|
|
|
|
* comparable to core.c and fair.c, the other two big
|
|
|
|
* compilation units. This helps balance build time, while
|
|
|
|
* coalescing source files to amortize header inclusion
|
|
|
|
* cost. )
|
|
|
|
*
|
|
|
|
* core.c and fair.c are built separately.
|
|
|
|
*/
|
|
|
|
|
2021-06-21 16:33:56 +08:00
|
|
|
/* Headers: */
|
|
|
|
#include <linux/sched/clock.h>
|
|
|
|
#include <linux/sched/cputime.h>
|
2022-04-13 21:31:02 +08:00
|
|
|
#include <linux/sched/hotplug.h>
|
2021-06-21 16:33:56 +08:00
|
|
|
#include <linux/sched/posix-timers.h>
|
|
|
|
#include <linux/sched/rt.h>
|
|
|
|
|
|
|
|
#include <linux/cpuidle.h>
|
|
|
|
#include <linux/jiffies.h>
|
|
|
|
#include <linux/livepatch.h>
|
|
|
|
#include <linux/psi.h>
|
|
|
|
#include <linux/seqlock_api.h>
|
|
|
|
#include <linux/slab.h>
|
|
|
|
#include <linux/suspend.h>
|
|
|
|
#include <linux/tsacct_kern.h>
|
|
|
|
#include <linux/vtime.h>
|
|
|
|
|
|
|
|
#include <uapi/linux/sched/types.h>
|
|
|
|
|
2022-02-22 20:46:03 +08:00
|
|
|
#include "sched.h"
|
2022-04-13 21:31:02 +08:00
|
|
|
#include "smp.h"
|
2022-02-13 15:19:43 +08:00
|
|
|
|
|
|
|
#include "autogroup.h"
|
|
|
|
#include "stats.h"
|
2022-02-22 20:46:03 +08:00
|
|
|
#include "pelt.h"
|
|
|
|
|
2021-06-21 16:33:56 +08:00
|
|
|
/* Source code modules: */
|
|
|
|
|
2022-02-22 20:46:03 +08:00
|
|
|
#include "idle.c"
|
|
|
|
|
|
|
|
#include "rt.c"
|
|
|
|
|
|
|
|
#ifdef CONFIG_SMP
|
|
|
|
# include "cpudeadline.c"
|
|
|
|
# include "pelt.c"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "cputime.c"
|
|
|
|
#include "deadline.c"
|
|
|
|
|