Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1368104

[PATCH v3 0/2] make arm_cpuidle_suspend() a bit more efficient

Path csiph.com!goblin3!goblin1!goblin.stu.neva.ru!newsfeed.CARNet.hr!news.spin.it!bofh.it!news.nic.it!robomod
From Jisheng Zhang <jszhang@marvell.com>
Newsgroups linux.kernel
Subject [PATCH v3 0/2] make arm_cpuidle_suspend() a bit more efficient
Date Thu, 31 Mar 2016 11:40:03 +0200
Message-ID <riHf3-2VE-3@gated-at.bofh.it> (permalink)
X-Original-To <linux@arm.linux.org.uk>, <daniel.lezcano@linaro.org>, <lorenzo.pieralisi@arm.com>
X-Mailer git-send-email 2.8.0.rc3
MIME-Version 1.0
Content-Type text/plain
X-Proofpoint-Virus-Version vendor=fsecure engine=2.50.10432:,, definitions=2016-03-31_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-1603310132
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 25
Organization linux.* mail to news gateway
X-Original-Cc <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>, Jisheng Zhang <jszhang@marvell.com>
X-Original-Date Thu, 31 Mar 2016 17:31:05 +0800
X-Original-Message-ID <1459416667-307-1-git-send-email-jszhang@marvell.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1368104

Show key headers only | View raw


There's one corner case need to be fixed: !cpuidle_ops[cpu].init.
patch1 tries to address this corner case.

patch2 tries to improve arm_cpuidle_suspend() a bit by moving .suspend
check into arm_cpuidle_read_ops().

Since v2:
 - add back patch1.

Since v1:
 - drop patch1, I.E "ARM: cpuidle: fix !cpuidle_ops[cpu].init case
   during init", because there may be platforms which doesn't need the
   init member at all.
 - adopt Daniel's suggestion to move the cpuidle_ops.suspend check to
   arm_cpuidle_read_ops().

Jisheng Zhang (2):
  ARM: cpuidle: fix !cpuidle_ops[cpu].init case during init
  ARM: cpuidle: make arm_cpuidle_suspend() a bit more efficient

 arch/arm/kernel/cpuidle.c | 23 +++++++++++++----------
 1 file changed, 13 insertions(+), 10 deletions(-)

-- 
2.8.0.rc3

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH v3 0/2] make arm_cpuidle_suspend() a bit more efficient Jisheng Zhang <jszhang@marvell.com> - 2016-03-31 11:40 +0200

csiph-web