Re: [PATCH] cpuidle: arm: make enter idle operation a bit more efficient

2016-03-25 Thread Jisheng Zhang
Hi Lorenzo, On Fri, 25 Mar 2016 14:25:13 +0800 Jisheng Zhang wrote: > Hi Lorenzo, > > On Thu, 24 Mar 2016 16:06:00 + Lorenzo Pieralisi wrote: > > > On Thu, Mar 24, 2016 at 01:07:18PM +0800, Jisheng Zhang wrote: > > > Currently, entering idle need to check the idx every time to choose the

Re: [PATCH] cpuidle: arm: make enter idle operation a bit more efficient

2016-03-24 Thread Jisheng Zhang
Hi Lorenzo, On Thu, 24 Mar 2016 16:06:00 + Lorenzo Pieralisi wrote: > On Thu, Mar 24, 2016 at 01:07:18PM +0800, Jisheng Zhang wrote: > > Currently, entering idle need to check the idx every time to choose the > > real entering idle routine. But this check could be avoided by pointing > > the

Re: [PATCH] cpuidle: arm: make enter idle operation a bit more efficient

2016-03-24 Thread Lorenzo Pieralisi
On Thu, Mar 24, 2016 at 01:07:18PM +0800, Jisheng Zhang wrote: > Currently, entering idle need to check the idx every time to choose the > real entering idle routine. But this check could be avoided by pointing > the idle enter function pointer of each idle states to the routines > suitable for eac

Re: [PATCH] cpuidle: arm: make enter idle operation a bit more efficient

2016-03-24 Thread Rafael J. Wysocki
On Thu, Mar 24, 2016 at 6:07 AM, Jisheng Zhang wrote: > Currently, entering idle need to check the idx every time to choose the > real entering idle routine. But this check could be avoided by pointing > the idle enter function pointer of each idle states to the routines > suitable for each states

[PATCH] cpuidle: arm: make enter idle operation a bit more efficient

2016-03-23 Thread Jisheng Zhang
Currently, entering idle need to check the idx every time to choose the real entering idle routine. But this check could be avoided by pointing the idle enter function pointer of each idle states to the routines suitable for each states directly. Signed-off-by: Jisheng Zhang --- drivers/cpuidle/