mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
sched: remove sleep_type
remove the sleep_type heuristics from the core scheduler - scheduling policy is implemented in the scheduling-policy modules. (and CFS does not use this type of sleep-type heuristics) Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
45bf76df48
commit
f2ac58ee61
2 changed files with 2 additions and 97 deletions
|
@ -788,13 +788,6 @@ struct mempolicy;
|
|||
struct pipe_inode_info;
|
||||
struct uts_namespace;
|
||||
|
||||
enum sleep_type {
|
||||
SLEEP_NORMAL,
|
||||
SLEEP_NONINTERACTIVE,
|
||||
SLEEP_INTERACTIVE,
|
||||
SLEEP_INTERRUPTED,
|
||||
};
|
||||
|
||||
struct prio_array;
|
||||
struct rq;
|
||||
struct sched_domain;
|
||||
|
@ -905,7 +898,6 @@ struct task_struct {
|
|||
unsigned long sleep_avg;
|
||||
unsigned long long timestamp, last_ran;
|
||||
unsigned long long sched_time; /* sched_clock time spent running */
|
||||
enum sleep_type sleep_type;
|
||||
|
||||
unsigned int policy;
|
||||
cpumask_t cpus_allowed;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue