From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751657AbcBYVC5 (ORCPT ); Thu, 25 Feb 2016 16:02:57 -0500 Received: from v094114.home.net.pl ([79.96.170.134]:47567 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751542AbcBYVCz (ORCPT ); Thu, 25 Feb 2016 16:02:55 -0500 From: "Rafael J. Wysocki" To: Peter Zijlstra Cc: Steve Muckle , 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 , Ricky Liang Subject: Re: [RFCv7 PATCH 03/10] sched: scheduler-driven cpu frequency selection Date: Thu, 25 Feb 2016 22:04:29 +0100 Message-ID: <1626887.BDY94X81Py@vostro.rjw.lan> User-Agent: KMail/4.11.5 (Linux/4.5.0-rc1+; KDE/4.11.5; x86_64; ; ) In-Reply-To: <20160225092150.GC6357@twins.programming.kicks-ass.net> References: <1456190570-4475-1-git-send-email-smuckle@linaro.org> <8427745.Y8N2bqC3SO@vostro.rjw.lan> <20160225092150.GC6357@twins.programming.kicks-ass.net> 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 Thursday, February 25, 2016 10:21:50 AM Peter Zijlstra wrote: > On Thu, Feb 25, 2016 at 04:55:57AM +0100, Rafael J. Wysocki wrote: > > Well, I'm not familiar with static keys and how they work, so you'll need to > > explain this part to me. > > See include/linux/jump_label.h, it has lots of text on them. There is > also Documentation/static-keys.txt Thanks for the pointers! It looks like the author of the $subject patch hasn't looked at the latter document lately. In any case, IMO this might be used to hide the cpufreq_update_util() call sites from the scheduler code in case no one has set anything via cpufreq_set_update_util_data() for any CPUs. That essentially is when things like the performance governor are in use, so may be worth doing, but that's your judgement call mostly. :-) Thanks, Rafael