forked from rubenslte/android_kernel_samsung_msm8226
When the interactive governor selects to run at max frequency it doesn't re-schedule the timer until it hits an idle. This change checks if the CPU has been continuously busy for last 100ms on hitting an idle start. If yes, then floor_validate_time is reset so that the CPU stays at max frequency for at least another 100 ms before stepping down. This is an important feature for detecting CPU intensive workloads which require high frequencies for achieving better performance. Change-Id: I7d48ffbc3d50a80af9be3bf94667ee3d0120b763 Signed-off-by: Rohit Gupta <rohgup@codeaurora.org>