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)
committerArve Hjønnevåg <arve@android.com>
Mon, 1 Jul 2013 21:16:13 +0000 (14:16 -0700)
commit9c6633a1bf94238855eb250f99850842dd9b701f
tree7acfd8a588de271b8fd597adecb5fc34946ccc3f
parenta407739135ec10bee00bcba4523f244827e6421e
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