cpufreq: interactive: use deferrable timer by default
authorLianwei Wang <a22439@motorola.com>
Thu, 1 Nov 2012 01:59:52 +0000 (09:59 +0800)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:52:44 +0000 (13:52 -0800)
commitf5b4e661c15486616c73eafb739337c7a6e46427
tree8cd77681c3a411d50b23f6088c31d268d6de339b
parent916d0566e4a0d474e6fbee59d76e579c740684ce
cpufreq: interactive: use deferrable timer by default

Avoid wakeups only to handle the governor timer when the system is otherwise
idle.

For platforms where the power cost of remaining in idle at higher CPU
speed may outweigh the cost of a governor wakeup from idle to lower the speed,
set parameter cpufreq_interactive.governidle=1.

Change-Id: Id6c43eb35caecf9b0574fcdd5b769711bc7e6de6
Signed-off-by: LianWei WANG <a22439@motorola.com>
Signed-off-by: Todd Poynor <toddpoynor@google.com>
drivers/cpufreq/cpufreq_interactive.c