]> 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)
commitb01adee925c0025d1a25fd5745567c5c4c041575
treecf3a819d4726147b8214eb4a6337b2423c1d245f
parent71cf366f67960ace07644315ccbdf1cce91ee994
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