diff options
| author | Rohit Gupta <rohgup@codeaurora.org> | 2015-03-06 18:46:04 -0800 |
|---|---|---|
| committer | Steve Kondik <shade@chemlab.org> | 2015-05-03 08:41:25 +0000 |
| commit | 493c3a1b582ff4c9987d179c6e3a710269c74177 (patch) | |
| tree | 836d6718cbd5649ae673eebcebc3d592a72f7bc4 /net/lapb/lapb_timer.c | |
| parent | b092e186be01f2ee450be28797cc1cc6e1f006d8 (diff) | |
cpufreq: interactive: Rearm governor timer at max freq
Currently interactive governor timer doesn't re-arm itself when it
selects policy->max as the new frequency to go to. On hitting idle
for the first time at max frequency timer is armed again. This
mechanism doesn't have any noticeable performance benefits since
CPUs running at max frequencies without going into idles show high
loads which prevents the governor from lowering their frequencies.
This change rearms the timer even at max frequency which removes
the need to handle idle starts. This simplifies the code and also
makes the governor timer windows more regular so that the
notifications going out from the governor are uniformly spaced
apart. Max freq hysteresis start timestamp is refreshed everytime
policy->max is selected as the new frequency to prevent stepping
down from max frequency earlier than intended.
Change-Id: I9c137113b703f2064f1e668628db91de94cc0887
Signed-off-by: Rohit Gupta <rohgup@codeaurora.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
