diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2009-09-01 04:34:37 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-09-04 04:09:55 -0400 |
commit | e9e9250bc78e7f6342517214c0178a529807964b (patch) | |
tree | 9466a437ccfa93b200f4ee434fe807dd6b5fc050 /include/linux/sched.h | |
parent | ab29230e673c646292c90c8b9d378b9562145af0 (diff) |
sched: Scale down cpu_power due to RT tasks
Keep an average on the amount of time spend on RT tasks and use
that fraction to scale down the cpu_power for regular tasks.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Tested-by: Andreas Herrmann <andreas.herrmann3@amd.com>
Acked-by: Andreas Herrmann <andreas.herrmann3@amd.com>
Acked-by: Gautham R Shenoy <ego@in.ibm.com>
Cc: Balbir Singh <balbir@in.ibm.com>
LKML-Reference: <20090901083826.287778431@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 9c81c921acb3..c67ddf309c84 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -1831,6 +1831,7 @@ extern unsigned int sysctl_sched_child_runs_first; | |||
1831 | extern unsigned int sysctl_sched_features; | 1831 | extern unsigned int sysctl_sched_features; |
1832 | extern unsigned int sysctl_sched_migration_cost; | 1832 | extern unsigned int sysctl_sched_migration_cost; |
1833 | extern unsigned int sysctl_sched_nr_migrate; | 1833 | extern unsigned int sysctl_sched_nr_migrate; |
1834 | extern unsigned int sysctl_sched_time_avg; | ||
1834 | extern unsigned int sysctl_timer_migration; | 1835 | extern unsigned int sysctl_timer_migration; |
1835 | 1836 | ||
1836 | int sched_nr_latency_handler(struct ctl_table *table, int write, | 1837 | int sched_nr_latency_handler(struct ctl_table *table, int write, |