]> Git Repo - linux.git/commit
cpufreq: conservative: Fix the logic in frequency decrease checking
authorStratos Karafotis <[email protected]>
Tue, 5 Mar 2013 22:06:40 +0000 (22:06 +0000)
committerRafael J. Wysocki <[email protected]>
Sun, 31 Mar 2013 23:11:35 +0000 (01:11 +0200)
commit27ed3cd2ebf4cd78b198be9758c538cdede36d8a
tree7d1e5bc92a1722752daed3762ef83130c56a65c2
parent7af1c0568d33339318c6710381921a3a3d40eebb
cpufreq: conservative: Fix the logic in frequency decrease checking

When we evaluate the CPU load for frequency decrease we have to compare
the load against down_threshold. There is no need to subtract 10 points
from down_threshold.

Instead, we have to use the default down_threshold or user's selection
unmodified.

Signed-off-by: Stratos Karafotis <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
drivers/cpufreq/cpufreq_conservative.c
This page took 0.050262 seconds and 4 git commands to generate.