Commit a75603a0 authored by Alexander Clouter's avatar Alexander Clouter Committed by Dave Jones

[CPUFREQ] conservative: remove 10x from def_sampling_rate

AMD users get particular hit by this issue (bug 8081) as it caps at
typically 90 seconds as the minimum period for a frequency change.
Harsh eh?  Years ago I borked this buy puting the 10x in the wrong
place...I fix that by removing it altogether.
Signed-off-by: default avatarAlexander Clouter <alex@digriz.org.uk>
Signed-off-by: default avatarDave Jones <davej@redhat.com>
parent 8e677ce8
...@@ -599,7 +599,7 @@ static int cpufreq_governor_dbs(struct cpufreq_policy *policy, ...@@ -599,7 +599,7 @@ static int cpufreq_governor_dbs(struct cpufreq_policy *policy,
latency = 1; latency = 1;
def_sampling_rate = def_sampling_rate =
max(10 * latency * LATENCY_MULTIPLIER, max(latency * LATENCY_MULTIPLIER,
MIN_STAT_SAMPLING_RATE); MIN_STAT_SAMPLING_RATE);
dbs_tuners_ins.sampling_rate = def_sampling_rate; dbs_tuners_ins.sampling_rate = def_sampling_rate;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment