cpufreq: interactive: kick timer on idle exit past expiry
authorTodd Poynor <toddpoynor@google.com>
Tue, 9 Oct 2012 03:14:34 +0000 (20:14 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:52:45 +0000 (13:52 -0800)
commit2aadfa75842fa8925fe665cb38eb54dadef92f68
tree94a3d7fe903d38de4a35aa1ef6131476b15e4665
parentf5b4e661c15486616c73eafb739337c7a6e46427
cpufreq: interactive: kick timer on idle exit past expiry

The deferrable timer list isn't checked on all idle exits, such as when
hi-res timers expire or ISRs schedule workers.  If the idle loop is
exited and it's past time to run the governor load polling timer,
run it immediately.  This ensures we handle load spikes caused by actvity
that does not run the normal timer list.

Rename the field that timestamps the "time_in_idle" value to be more
accurate.

Change-Id: Ied590ecbefc83c9a9ec5eb9e31903557f6fa1614
Signed-off-by: Todd Poynor <toddpoynor@google.com>
drivers/cpufreq/cpufreq_interactive.c