Re: [PATCH v2] ARM: cpuidle: make arm_cpuidle_suspend() a bit more efficient

From: Daniel Lezcano
Date: Wed Mar 30 2016 - 04:02:16 EST


On 03/30/2016 09:47 AM, 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.

This patch makes sense but the ARM64 part is missing.

--
<http://www.linaro.org/> Linaro.org â Open source software for ARM SoCs

Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog