Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932698AbcC3IJV (ORCPT ); Wed, 30 Mar 2016 04:09:21 -0400 Received: from mx0b-0016f401.pphosted.com ([67.231.156.173]:10138 "EHLO mx0b-0016f401.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932610AbcC3IJP (ORCPT ); Wed, 30 Mar 2016 04:09:15 -0400 Date: Wed, 30 Mar 2016 16:05:04 +0800 From: Jisheng Zhang To: Daniel Lezcano CC: , , , , Subject: Re: [PATCH v2] ARM: cpuidle: make arm_cpuidle_suspend() a bit more efficient Message-ID: <20160330160504.50be1959@xhacker> In-Reply-To: <56FB87FA.50405@linaro.org> References: <1459324077-7116-1-git-send-email-jszhang@marvell.com> <56FB87FA.50405@linaro.org> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-03-30_04:,, signatures=0 X-Proofpoint-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1601100000 definitions=main-1603300119 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 577 Lines: 19 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 Thanks, Jisheng