From 87fe20de7e7c54fd00a1acea8e84a70756bf9922 Mon Sep 17 00:00:00 2001 From: Syed Rameez Mustafa Date: Fri, 19 Jun 2015 13:03:11 -0700 Subject: sched: Update the wakeup placement logic for fair and rt tasks For the fair sched class, update the select_best_cpu() policy to do power based placement. The hope is to minimize the voltage at which the CPU runs. While RT tasks already do power based placement, their placement preference has to now take into account the power cost of all tasks on a given CPU. Also remove the check for sched_boost since sched_boost no longer intends to elevate all tasks to the highest capacity cluster. Change-Id: Ic6a7625c97d567254d93b94cec3174a91727cb87 Signed-off-by: Syed Rameez Mustafa --- include/linux/sched.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'include/linux') diff --git a/include/linux/sched.h b/include/linux/sched.h index ba49767ee09f..fa5ca5e90917 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -2339,15 +2339,6 @@ extern u32 sched_get_wake_up_idle(struct task_struct *p); extern int sched_set_boost(int enable); extern int sched_set_init_task_load(struct task_struct *p, int init_load_pct); extern u32 sched_get_init_task_load(struct task_struct *p); -extern int sched_set_cpu_prefer_idle(int cpu, int prefer_idle); -extern int sched_get_cpu_prefer_idle(int cpu); -extern int sched_set_cpu_mostly_idle_load(int cpu, int mostly_idle_pct); -extern int sched_get_cpu_mostly_idle_load(int cpu); -extern int sched_set_cpu_mostly_idle_nr_run(int cpu, int nr_run); -extern int sched_get_cpu_mostly_idle_nr_run(int cpu); -extern int -sched_set_cpu_mostly_idle_freq(int cpu, unsigned int mostly_idle_freq); -extern unsigned int sched_get_cpu_mostly_idle_freq(int cpu); #else static inline int sched_set_boost(int enable) -- cgit v1.2.3