]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitccaa75bb20d852da4fbb02dd6e399449b8b2579b
treecf3a819d4726147b8214eb4a6337b2423c1d245f
parent26d1d90bf6c3e3724fb64c0cc490c4d5e2106deb
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