build_policy.c 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. /* Headers: */
  15. #include <linux/sched/clock.h>
  16. #include <linux/sched/cputime.h>
  17. #include <linux/sched/hotplug.h>
  18. #include <linux/sched/posix-timers.h>
  19. #include <linux/sched/rt.h>
  20. #include <linux/cpuidle.h>
  21. #include <linux/jiffies.h>
  22. #include <linux/livepatch.h>
  23. #include <linux/psi.h>
  24. #include <linux/seqlock_api.h>
  25. #include <linux/slab.h>
  26. #include <linux/suspend.h>
  27. #include <linux/tsacct_kern.h>
  28. #include <linux/vtime.h>
  29. #include <uapi/linux/sched/types.h>
  30. #include "sched.h"
  31. #include "smp.h"
  32. #include "autogroup.h"
  33. #include "stats.h"
  34. #include "pelt.h"
  35. /* Source code modules: */
  36. #include "idle.c"
  37. #include "rt.c"
  38. #ifdef CONFIG_SMP
  39. # include "cpudeadline.c"
  40. # include "pelt.c"
  41. #endif
  42. #include "cputime.c"
  43. #include "deadline.c"