Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932737AbcC3IOO (ORCPT ); Wed, 30 Mar 2016 04:14:14 -0400 Received: from mail-wm0-f44.google.com ([74.125.82.44]:35289 "EHLO mail-wm0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932360AbcC3IOJ (ORCPT ); Wed, 30 Mar 2016 04:14:09 -0400 Subject: Re: [PATCH v2] ARM: cpuidle: make arm_cpuidle_suspend() a bit more efficient To: Jisheng Zhang References: <1459324077-7116-1-git-send-email-jszhang@marvell.com> <56FB87FA.50405@linaro.org> <20160330160504.50be1959@xhacker> Cc: linux@arm.linux.org.uk, lorenzo.pieralisi@arm.com, lina.iyer@linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org From: Daniel Lezcano Message-ID: <56FB8ACD.6050503@linaro.org> Date: Wed, 30 Mar 2016 10:14:05 +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: <20160330160504.50be1959@xhacker> 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: 913 Lines: 26 On 03/30/2016 10:05 AM, Jisheng Zhang wrote: > Dear Daniel, > > On Wed, 30 Mar 2016 10:02:02 +0200 Daniel Lezcano wrote: > >> 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. >> > > Here is the ARM64 part, you are also in the "To" list ;) > > http://lists.infradead.org/pipermail/linux-arm-kernel/2016-March/417713.html Ah, yes. That happens when we read the email sequentially :) -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog