Re: [RFC PATCH V1 3/7] cpuidle: stop using pm_idle

2011-08-03 Thread Len Brown
On Tue, 7 Jun 2011, Trinabh Gupta wrote: > From: Len Brown > > pm_idle does not scale as an idle handler registration mechanism. > Don't use it for cpuidle. Instead, call cpuidle directly, and > allow architectures to use pm_idle as an arch-specific default > if they need it. ie. > > cpu_idle

[RFC PATCH V1 3/7] cpuidle: stop using pm_idle

2011-06-07 Thread Trinabh Gupta
From: Len Brown pm_idle does not scale as an idle handler registration mechanism. Don't use it for cpuidle. Instead, call cpuidle directly, and allow architectures to use pm_idle as an arch-specific default if they need it. ie. cpu_idle() ... if(cpuidle_call_idle())