History

sched/headers: Reorganize, clean up and optimize kernel/sched/fair.c dependencies

Use all generic headers from kernel/sched/sched.h that are required for it to build. Sort the sections alphabetically.

Ingo Molnar committed 4 years ago

Commit c4ad6fc1 parent e66f6481 file · +29 −0Browse files

Unified · Split

kernel/sched/fair.c+29−0
@@ -20,6 +20,35 @@ · 19 unmodified lines
20 * Adaptive scheduling granularity, math enhancements by Peter Zijlstra20 * Adaptive scheduling granularity, math enhancements by Peter Zijlstra
21 * Copyright (C) 2007 Red Hat, Inc., Peter Zijlstra21 * Copyright (C) 2007 Red Hat, Inc., Peter Zijlstra
22 */22 */
23#include <linux/energy_model.h>
24#include <linux/mmap_lock.h>
25#include <linux/hugetlb_inline.h>
26#include <linux/jiffies.h>
27#include <linux/mm_api.h>
28#include <linux/highmem.h>
29#include <linux/spinlock_api.h>
30#include <linux/cpumask_api.h>
31#include <linux/lockdep_api.h>
32#include <linux/softirq.h>
33#include <linux/refcount_api.h>
34#include <linux/topology.h>
35#include <linux/sched/clock.h>
36#include <linux/sched/cond_resched.h>
37#include <linux/sched/cputime.h>
38#include <linux/sched/isolation.h>
39
40#include <linux/cpuidle.h>
41#include <linux/interrupt.h>
42#include <linux/mempolicy.h>
43#include <linux/mutex_api.h>
44#include <linux/profile.h>
45#include <linux/psi.h>
46#include <linux/ratelimit.h>
47
48#include <asm/switch_to.h>
49
50#include <linux/sched/cond_resched.h>
51
23#include "sched.h"52#include "sched.h"
24#include "stats.h"53#include "stats.h"
25#include "autogroup.h"54#include "autogroup.h"