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

Daniel Lezcano daniel.lezcano at linaro.org
Thu Jul 7 06:46:28 PDT 2016


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>



More information about the linux-arm-kernel mailing list