cpufreq: interactive: use deferrable timer by default
authorLianwei Wang <a22439@motorola.com>
Thu, 1 Nov 2012 01:59:52 +0000 (09:59 +0800)
committerArve Hjønnevåg <arve@android.com>
Mon, 1 Jul 2013 21:16:13 +0000 (14:16 -0700)
commita407739135ec10bee00bcba4523f244827e6421e
tree38ac122c8793188007f3f696432e61f3510fb6c3
parent8cb7e24b53b63c78f762c34d06b5720087a8e137
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