diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2009-09-03 07:20:03 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-09-15 10:51:28 -0400 |
commit | 8e6598af3f35629c37249a610cf13e73f70db279 (patch) | |
tree | a341d416329f5331e4f7c6834d637266ba389b78 /kernel/sched_features.h | |
parent | 47fe38fcff0517e67d395c039d2e26d2de688a60 (diff) |
sched: Feature to disable APERF/MPERF cpu_power
I suspect a feed-back loop between cpuidle and the aperf/mperf
cpu_power bits, where when we have idle C-states lower the ratio,
which leads to lower cpu_power and then less load, which generates
more idle time, etc..
Put in a knob to disable it.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched_features.h')
-rw-r--r-- | kernel/sched_features.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/sched_features.h b/kernel/sched_features.h index e98c2e8de1d..294e10edd3c 100644 --- a/kernel/sched_features.h +++ b/kernel/sched_features.h | |||
@@ -82,6 +82,11 @@ SCHED_FEAT(LAST_BUDDY, 1) | |||
82 | */ | 82 | */ |
83 | SCHED_FEAT(CACHE_HOT_BUDDY, 1) | 83 | SCHED_FEAT(CACHE_HOT_BUDDY, 1) |
84 | 84 | ||
85 | /* | ||
86 | * Use arch dependent cpu power functions | ||
87 | */ | ||
88 | SCHED_FEAT(ARCH_POWER, 0) | ||
89 | |||
85 | SCHED_FEAT(HRTICK, 0) | 90 | SCHED_FEAT(HRTICK, 0) |
86 | SCHED_FEAT(DOUBLE_TICK, 0) | 91 | SCHED_FEAT(DOUBLE_TICK, 0) |
87 | SCHED_FEAT(LB_BIAS, 1) | 92 | SCHED_FEAT(LB_BIAS, 1) |