Received: by 10.192.165.156 with SMTP id m28csp631695imm; Fri, 13 Apr 2018 05:20:50 -0700 (PDT) X-Google-Smtp-Source: AIpwx48Fmg2t8GMFhsC17r2bsYH+A5O9MvZ73PsjEVM7c9GQwYeG0ZM8uzsJ+gATNhLbY9vnM+lt X-Received: by 2002:a17:902:6d0f:: with SMTP id s15-v6mr5043169plk.241.1523622050643; Fri, 13 Apr 2018 05:20:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523622050; cv=none; d=google.com; s=arc-20160816; b=s42zZD/LSEjRsPdLNb6BF8iYx1txMTxHnlSZryjofdc5PyGqkxh9ODndhrelwfGh4o ZnUHk63O0upg8vgAuQEx0cnjwBJJJOCUgWIR11iF7Z8ht+ViTEH1F3cZlKClUojDa43Z TybMJK2MqFca6Nck1psVEo63bdKcOQ8PAf/5boUmF7NAPYvKRAsD3VkfmTGe59T3g7mV rKzvnxoyiM88v00m+rQ+KDvpci6K+T13pv1/Dob/vnMo5wqBszYLB4K/qWceVT3e7riV BHeIGrfXRgx+ojhd50tot0F39Y3h8E5ez98gzW04tR5F0+TBNqoKKyIh0Pk7OCf24XWa 19ZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=boDgBInRUP6ZhNauGFOOKitgopTSODQJvqYzA3sBcUc=; b=zUID05gSwMoGID6L3RZqeg6SzljPCiiWh/ylvfuVLZmwMqqi0fuAGUTcue9ctJr7bW FylIDbDJeZmgCnBSCLJGE897w/+otoK4vKVIjmSpyQ2C66cKq+LN6VH0SI8/iwzclfGU QzMKKuQeIHNI+QXcfnL9n0swAGqQWFFH/YiAF3s3YzMlowgydI+9MvY7npUgP7tWmwNp mu2qtXiQnswML40BGBtoEXL4DyK5BA/HQ0NS9BFeSHyp12G2be4oaKhCmS3qQGkGNLnW BMoCcyfv1tOASsjdmb+hVPLv46EGjf7CaqKfGgJtvyWJaXHjaxDWz7XJ5J/1se05K4uP 7OQA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n59-v6si5414087plb.46.2018.04.13.05.20.35; Fri, 13 Apr 2018 05:20:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754240AbeDMLdo (ORCPT + 99 others); Fri, 13 Apr 2018 07:33:44 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:41610 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750960AbeDMLdn (ORCPT ); Fri, 13 Apr 2018 07:33:43 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A6BE280D; Fri, 13 Apr 2018 04:33:42 -0700 (PDT) Received: from e110439-lin (e110439-lin.cambridge.arm.com [10.1.210.68]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 41D783F592; Fri, 13 Apr 2018 04:33:40 -0700 (PDT) Date: Fri, 13 Apr 2018 12:33:37 +0100 From: Patrick Bellasi To: Peter Zijlstra Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Ingo Molnar , Tejun Heo , "Rafael J . Wysocki" , Viresh Kumar , Vincent Guittot , Paul Turner , Dietmar Eggemann , Morten Rasmussen , Juri Lelli , Joel Fernandes , Steve Muckle Subject: Re: [PATCH 1/7] sched/core: uclamp: add CPU clamp groups accounting Message-ID: <20180413113337.GU14248@e110439-lin> References: <20180409165615.2326-1-patrick.bellasi@arm.com> <20180409165615.2326-2-patrick.bellasi@arm.com> <20180413084019.GQ4043@hirez.programming.kicks-ass.net> <20180413111753.GT14248@e110439-lin> <20180413112926.GQ4064@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180413112926.GQ4064@hirez.programming.kicks-ass.net> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13-Apr 13:29, Peter Zijlstra wrote: > On Fri, Apr 13, 2018 at 12:17:53PM +0100, Patrick Bellasi wrote: > > On 13-Apr 10:40, Peter Zijlstra wrote: > > > On Mon, Apr 09, 2018 at 05:56:09PM +0100, Patrick Bellasi wrote: > > > > +static inline void init_uclamp(void) > > > > > > WTH is that inline? > > > > You mean I can avoid the attribute? > > ... or that I should do it in another way? > > yea, its init code, no need to go all inline with that (gcc will likely > inline it anyway because static-with-single-callsite). Yes, indeed... I think I've just got the right above init_schedstats() as a reference and lazily want for code consistency :( However, if we remove inline, we should probably still add an __init, isn't it? -- #include Patrick Bellasi