Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758749AbcC3ICL (ORCPT ); Wed, 30 Mar 2016 04:02:11 -0400 Received: from mail-wm0-f42.google.com ([74.125.82.42]:34885 "EHLO mail-wm0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753137AbcC3ICG (ORCPT ); Wed, 30 Mar 2016 04:02:06 -0400 Subject: Re: [PATCH v2] ARM: cpuidle: make arm_cpuidle_suspend() a bit more efficient To: Jisheng Zhang , linux@arm.linux.org.uk, lorenzo.pieralisi@arm.com References: <1459324077-7116-1-git-send-email-jszhang@marvell.com> Cc: lina.iyer@linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org From: Daniel Lezcano Message-ID: <56FB87FA.50405@linaro.org> Date: Wed, 30 Mar 2016 10:02:02 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <1459324077-7116-1-git-send-email-jszhang@marvell.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 567 Lines: 14 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. -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog