Re: [RESEND][PATCH] cpuidle: governor: menu: move repeated correction factor check to init

2014-05-16 Thread Chander Kashyap
On 16 May 2014 15:16, Rafael J. Wysocki wrote: > On 5/16/2014 10:16 AM, Chander Kashyap wrote: >> >> On 22 April 2014 18:08, Chander Kashyap >> wrote: >>> >>> In menu_select function we check for correction factor every time. >>> If it is zero we are initializing to unity. Hence move it to init >

Re: [RESEND][PATCH] cpuidle: governor: menu: move repeated correction factor check to init

2014-05-16 Thread Rafael J. Wysocki
On 5/16/2014 10:16 AM, Chander Kashyap wrote: On 22 April 2014 18:08, Chander Kashyap wrote: In menu_select function we check for correction factor every time. If it is zero we are initializing to unity. Hence move it to init function and initialise by unity, hence avoid repeated comparisons.

Re: [RESEND][PATCH] cpuidle: governor: menu: move repeated correction factor check to init

2014-05-16 Thread Chander Kashyap
On 22 April 2014 18:08, Chander Kashyap wrote: > In menu_select function we check for correction factor every time. > If it is zero we are initializing to unity. Hence move it to init function > and initialise by unity, hence avoid repeated comparisons. > > Signed-off-by: Chander Kashyap > Review

[RESEND][PATCH] cpuidle: governor: menu: move repeated correction factor check to init

2014-04-22 Thread Chander Kashyap
In menu_select function we check for correction factor every time. If it is zero we are initializing to unity. Hence move it to init function and initialise by unity, hence avoid repeated comparisons. Signed-off-by: Chander Kashyap Reviewed-by: Tuukka Tikkanen --- drivers/cpuidle/governors/menu