From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755577AbcASNuL (ORCPT ); Tue, 19 Jan 2016 08:50:11 -0500 Received: from v094114.home.net.pl ([79.96.170.134]:43903 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1754015AbcASNuG (ORCPT ); Tue, 19 Jan 2016 08:50:06 -0500 From: "Rafael J. Wysocki" To: Ingo Molnar Cc: "Rafael J. Wysocki" , Sudeep Holla , Peter Zijlstra , Linux PM list , Linux Kernel Mailing List , Daniel Lezcano Subject: Re: [PATCH 0/2] cpuidle optimizations (on top of linux-next) Date: Tue, 19 Jan 2016 14:50:48 +0100 Message-ID: <7943578.tuUzrzI8EM@vostro.rjw.lan> User-Agent: KMail/4.11.5 (Linux/4.4.0; KDE/4.11.5; x86_64; ; ) In-Reply-To: <20160119132858.GA32559@gmail.com> References: <1621492.NI2xz9vt7M@vostro.rjw.lan> <20160119132858.GA32559@gmail.com> 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 On Tuesday, January 19, 2016 02:28:58 PM Ingo Molnar wrote: > > * Rafael J. Wysocki wrote: > > > On Tue, Jan 19, 2016 at 8:28 AM, Ingo Molnar wrote: > > > > > > * Sudeep Holla wrote: > > > > > >> On 15/01/16 23:53, Rafael J. Wysocki wrote: > > >> >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. > > >> > > > >> > > >> Tested-by: Sudeep Holla > > > > > > Rafael, can I pick these up into the scheduler tree? > > > > They won't apply at this point as one commit they depend on is in my > > linux-next branch waiting for the next push. > > > > Would it be a problem if they went in through the PM tree instead? > > Absolutely no problem: > > Acked-by: Ingo Molnar OK, thanks! Rafael