From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753944AbcAOX44 (ORCPT ); Fri, 15 Jan 2016 18:56:56 -0500 Received: from v094114.home.net.pl ([79.96.170.134]:60553 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1753837AbcAOX4f (ORCPT ); Fri, 15 Jan 2016 18:56:35 -0500 From: "Rafael J. Wysocki" To: Peter Zijlstra Cc: Linux PM list , Linux Kernel Mailing List , Ingo Molnar , Daniel Lezcano , Sudeep Holla Subject: [PATCH 0/2] cpuidle optimizations (on top of linux-next) Date: Sat, 16 Jan 2016 00:53:41 +0100 Message-ID: <1621492.NI2xz9vt7M@vostro.rjw.lan> User-Agent: KMail/4.11.5 (Linux/4.4.0; KDE/4.11.5; x86_64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, When I was looking at the cpuidle code after the Sudeeps's problem report, it occured to me that we had some pointless overhead there, so two changes to reduce it follow. [1/2] Make the fallback to to default_idle_call() in call_cpuidle() unnecessary and drop it. [2/2] Make menu_select() avoid checking states that don't need to (or even shouldn't) be checked when making the selection. Thanks, Rafael