Re: [PATCH v4 2/2] ARM: cpuidle: make arm_cpuidle_suspend() a bit more efficient
From: Daniel Lezcano
Date: Thu Jul 07 2016 - 09:46:53 EST
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@xxxxxxxxxxx>
> ---
Acked-by: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>