cpuidle: powernv/pseries: Auto-promotion of snooze to deeper idle state
authorShilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com>
Thu, 18 Jun 2015 11:23:11 +0000 (16:53 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 22 Jun 2015 13:15:15 +0000 (15:15 +0200)
commit78eaa10f027cf69f9bd409e64eaff902172b2327
treecf3a819d4726147b8214eb4a6337b2423c1d245f
parent7d51d97925e6cbfa2f7f14e3e3aa363b35ee5c24
cpuidle: powernv/pseries: Auto-promotion of snooze to deeper idle state

The idle cpus which stay in snooze for a long period can degrade the
perfomance of the sibling cpus. If the cpu stays in snooze for more
than target residency of the next available idle state, then exit from
snooze. This gives a chance to the cpuidle governor to re-evaluate the
last idle state of the cpu to promote it to deeper idle states.

Signed-off-by: Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com>
Reviewed-by: Preeti U Murthy <preeti@linux.vnet.ibm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpuidle/cpuidle-powernv.c
drivers/cpuidle/cpuidle-pseries.c