]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] cpufreq_conservative: alter default responsiveness
authorAlexander Clouter <alex@digriz.org.uk>
Wed, 22 Mar 2006 09:56:23 +0000 (09:56 +0000)
committerDominik Brodowski <linux@dominikbrodowski.net>
Sun, 26 Mar 2006 08:13:21 +0000 (10:13 +0200)
The sensible approach to making conservative less responsive than ondemand :)
As mentioned in patch [1/4].  We do not want conservative to shoot through
all the frequencies, its point (by default) is to slowly move through them.

By default its ten times less responsive.

Signed-off-by: Alexander Clouter <alex-kernel@digriz.org.uk>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/cpufreq/cpufreq_conservative.c

index adecd31f6156fdff450a79c90b2dd34fb0f60b37..3ca3cf0616426d0215008a614ef0a9cdaeee84e8 100644 (file)
@@ -509,7 +509,7 @@ static int cpufreq_governor_dbs(struct cpufreq_policy *policy,
                        if (latency == 0)
                                latency = 1;
 
-                       def_sampling_rate = latency *
+                       def_sampling_rate = 10 * latency *
                                        DEF_SAMPLING_RATE_LATENCY_MULTIPLIER;
 
                        if (def_sampling_rate < MIN_STAT_SAMPLING_RATE)