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

Jisheng Zhang jszhang at marvell.com
Thu Jul 7 23:17:29 PDT 2016


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.

Thanks in advance,
Jisheng



More information about the linux-arm-kernel mailing list