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

Daniel Lezcano
2016-03-30T08:02:02Z

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 |