From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757299AbcASH2U (ORCPT ); Tue, 19 Jan 2016 02:28:20 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:34517 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751409AbcASH2R (ORCPT ); Tue, 19 Jan 2016 02:28:17 -0500 Date: Tue, 19 Jan 2016 08:28:11 +0100 From: Ingo Molnar To: Sudeep Holla Cc: "Rafael J. Wysocki" , Peter Zijlstra , Linux PM list , Linux Kernel Mailing List , Daniel Lezcano Subject: Re: [PATCH 0/2] cpuidle optimizations (on top of linux-next) Message-ID: <20160119072811.GA11346@gmail.com> References: <1621492.NI2xz9vt7M@vostro.rjw.lan> <569CEC86.5080002@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <569CEC86.5080002@arm.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * 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? Thanks, Ingo