Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754359AbcDAVyJ (ORCPT ); Fri, 1 Apr 2016 17:54:09 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:48562 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752482AbcDAVyH (ORCPT ); Fri, 1 Apr 2016 17:54:07 -0400 Date: Fri, 1 Apr 2016 23:53:58 +0200 From: Peter Zijlstra To: Steve Muckle Cc: Ingo Molnar , "Rafael J. Wysocki" , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Vincent Guittot , Morten Rasmussen , Dietmar Eggemann , Juri Lelli , Patrick Bellasi , Michael Turquette , Byungchul Park Subject: Re: [RFC PATCH] sched/fair: call cpufreq hook in additional paths Message-ID: <20160401215358.GC2906@worktop> References: <1458858367-2831-1-git-send-email-smuckle@linaro.org> <20160331075951.GG3408@twins.programming.kicks-ass.net> <20160331091426.GE11035@twins.programming.kicks-ass.net> <56FEEAD0.2040108@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56FEEAD0.2040108@linaro.org> User-Agent: Mutt/1.5.22.1 (2013-10-16) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1325 Lines: 28 On Fri, Apr 01, 2016 at 02:40:32PM -0700, Steve Muckle wrote: > On 03/31/2016 02:14 AM, Peter Zijlstra wrote: > > On Thu, Mar 31, 2016 at 09:59:51AM +0200, Peter Zijlstra wrote: > >>> > > - passing an argument into attach_entity_load_avg() to indicate > >>> > > whether calling the cpufreq hook is necessary > >>> > > > >>> > > Both of these are ugly in their own way but would avoid a runtime > >>> > > cost. Opinions welcome. > >> > > >> > Lemme see what this would look like while I throw the below into the bit > >> > bucket. > > OK, so the below looks a lot more sane; and has the surprising benefit > > of actually shrinking the text size.. > > > > 43675 1226 24 44925 af7d defconfig-build/kernel/sched/fair.o.base > > 43723 1226 24 44973 afad defconfig-build/kernel/sched/fair.o.patch > > 43595 1226 24 44845 af2d defconfig-build/kernel/sched/fair.o.patch+ > > > > --- > > --- a/kernel/sched/fair.c > > +++ b/kernel/sched/fair.c > > Cool, thanks. Shall I fold this into this patch and resend the series of > 3? Or would you prefer to add this change separately? I think I've got it folded into your third patch, I haven't published the queue yet though; I'll try and sort through the stuff I have on Monday or so.