From mboxrd@z Thu Jan 1 00:00:00 1970 From: daniel.lezcano@linaro.org (Daniel Lezcano) Date: Thu, 7 Jul 2016 15:46:28 +0200 Subject: [PATCH v4 2/2] ARM: cpuidle: make arm_cpuidle_suspend() a bit more efficient In-Reply-To: <1467785755-3488-3-git-send-email-jszhang@marvell.com> References: <1467785755-3488-1-git-send-email-jszhang@marvell.com> <1467785755-3488-3-git-send-email-jszhang@marvell.com> Message-ID: <20160707134628.GB20553@linaro.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 > --- Acked-by: Daniel Lezcano