Re: [PATCH 2/2][V2] cpuidle - optimize the select function for the 'menu' governor

2013-01-11 Thread Julius Werner
*Ping!* Happy New Year everyone. Is there any update on this? I think Francesco already pointed out how to solve the last remaining issue with this, so I hope we can now resubmit these patches and finally get them merged. Daniel? ___ linaro-dev mailing

Re: [PATCH 2/2][V2] cpuidle - optimize the select function for the 'menu' governor

2012-12-16 Thread Francesco Lavra
Hi Daniel, On 12/14/2012 02:57 PM, Daniel Lezcano wrote: > As the power is backward sorted in the states array and we are looking for > the state consuming the little power as possible, instead of looking from > the beginning of the array, we look from the end. That should save us some > iteration

[PATCH 2/2][V2] cpuidle - optimize the select function for the 'menu' governor

2012-12-14 Thread Daniel Lezcano
As the power is backward sorted in the states array and we are looking for the state consuming the little power as possible, instead of looking from the beginning of the array, we look from the end. That should save us some iterations in the loop each time we select a state at idle time. Signed-of