OSDN Git Service

cpufreq: interactive: apply intermediate load to max speed not current
authorTodd Poynor <toddpoynor@google.com>
Fri, 6 Apr 2012 08:13:09 +0000 (01:13 -0700)
committerTodd Poynor <toddpoynor@google.com>
Mon, 9 Apr 2012 22:06:33 +0000 (15:06 -0700)
commite661e9ba37039c77f8e1faaa231d810f12ac0790
tree17d2c9c05dd365fd3a3f8906ec049e0183223616
parentc78af4915cd85a3ceb40f46890d4e27bac501815
cpufreq: interactive: apply intermediate load to max speed not current

Evaluate spikes in load (below go_hispeed_load) against the maximum
speed supported by the device, not the current speed (which tends to
make it too difficult to raise speed to intermediate levels until
very busy).

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