cpuidle: Make ladder governor honor latency requirements fully
authorvenkatesh.pallipadi@intel.com <venkatesh.pallipadi@intel.com>
Thu, 31 Jul 2008 02:21:44 +0000 (19:21 -0700)
committerAndi Kleen <ak@linux.intel.com>
Fri, 15 Aug 2008 19:25:35 +0000 (21:25 +0200)
commit06d9e908b2248f983b186aaf569c58e1430db85d
treea72b6608c6f787df72fe34d1d58f02b4b8d1bef7
parent320eee776357db52d6fcfb11cff985b1976a4595
cpuidle: Make ladder governor honor latency requirements fully

ladder governor only honored latency requirement when promoting C-states.
Instead. it should check for latency requirement on each idle call,
and demote to appropriate C-state when there is a latency requirement change.

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
drivers/cpuidle/governors/ladder.c