[PATCH v4 2/2] ARM: cpuidle: make arm_cpuidle_suspend() a bit more efficient

Daniel Lezcano daniel.lezcano at linaro.org
Fri Jul 8 03:50:12 PDT 2016


On Fri, Jul 08, 2016 at 02:17:29PM +0800, Jisheng Zhang wrote:
> Dear Daniel,
> 
> On Thu, 7 Jul 2016 15:46:28 +0200 Daniel Lezcano wrote:
> 
> > On Wed, Jul 06, 2016 at 02:15:55PM +0800, Jisheng Zhang wrote:
> > > Currently, we check cpuidle_ops.suspend every time when entering a
> > > low-power idle state. But this check could be avoided in this hot path
> > > by moving it into arm_cpuidle_read_ops() to reduce arm_cpuidle_suspend
> > > overhead a bit.
> > > 
> > > Signed-off-by: Jisheng Zhang <jszhang at marvell.com>
> > > ---  
> > 
> > Acked-by: Daniel Lezcano <daniel.lezcano at linaro.org>
> 
> I'm not sure the upstream merging path this patch should follow, Per my
> understanding, I need to put it into Russell's PATCH system.

Or alternatively through arm-soc

  -- Daniel



More information about the linux-arm-kernel mailing list