Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp271358imm; Wed, 18 Jul 2018 01:44:06 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcm7EISwuem2Vr2a+SWInDcjZJO0aH9cjK0xsJ7wvamLQMufrhi9EFS42lujWOnHq3DLWCE X-Received: by 2002:a63:d613:: with SMTP id q19-v6mr4881687pgg.327.1531903446710; Wed, 18 Jul 2018 01:44:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531903446; cv=none; d=google.com; s=arc-20160816; b=vTHAWKLMw+CRHZOLPMRzzTClrz4vCqZALZRdKUE96CEQW6TtQctm0v/DENno13xyHG WtpDKfRp31Y7DVniJCjHHgZHSnjnR/U1Mo7/INrZg032XnCwmKrPNM4QRZhr4muZvWm1 qjDG3vLLS/UQBCAuBTXLCw9cZDzHhixh5Xqp0PTSGqYSydLZqwufKHUwNoef3RlA3edz qzd8/Oo/H2+Ly39QEofbYcR1VD8I4Qk+yZBnhTgZbfO/sjai5zPfZClSt6nz+ymj57m8 ViLGlIi3fGgcHQ7zGgWIRTm6j68cpWYV98ZqnOYdGMq5ZVHORYKsuOp4SVctFPdLiwOg 2Rfg== 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=kMAzigRgkkz1eLhIBz2Y0ExZNaxK/oKH0vApaUFRDwo=; b=i815sEMN38KSskU0Z+9PFkO08R4MKm8pUDukieUduasDDr6s2KvS7h7lE/S6Pe4feE EB7nD0oL8ZpfGbppyU+LKhnF/sSU4P/coY0bq1pm2VwFfuT4pi0hM+8akd6axrCiuHuO K0e1oKziAqVVLvxbvfNzunYuhgy5yJ3A6kjJNo2WE36tNlgv3L7dV1tPb7uCF+BEAuOt Bpo2iOk36R7ne5K1YDtV5pIsRdrla70UObOU8AGmQzIdnwU99sRlcBScDyJ1PdS9P55c ZZoekW5w1DqxFzeEy/xw1fpaNeVm5L5Y5XwHobLKbv9qqpyak6MaNuIZ9DkiSV7SCzbl 8CDQ== 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 p1-v6si3154409pfe.150.2018.07.18.01.43.51; Wed, 18 Jul 2018 01:44:06 -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 S1730811AbeGRJTM (ORCPT + 99 others); Wed, 18 Jul 2018 05:19:12 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:57434 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726708AbeGRJTM (ORCPT ); Wed, 18 Jul 2018 05:19:12 -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 A214D7A9; Wed, 18 Jul 2018 01:42:23 -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 D4E0F3F589; Wed, 18 Jul 2018 01:42:20 -0700 (PDT) Date: Wed, 18 Jul 2018 09:42:18 +0100 From: Patrick Bellasi To: Joel Fernandes Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Ingo Molnar , Peter Zijlstra , Tejun Heo , "Rafael J . Wysocki" , Viresh Kumar , Vincent Guittot , Paul Turner , Dietmar Eggemann , Morten Rasmussen , Juri Lelli , Todd Kjos , Joel Fernandes , Steve Muckle , Suren Baghdasaryan Subject: Re: [PATCH v2 01/12] sched/core: uclamp: extend sched_setattr to support utilization clamping Message-ID: <20180718084218.GI32302@e110439-lin> References: <20180716082906.6061-1-patrick.bellasi@arm.com> <20180716082906.6061-2-patrick.bellasi@arm.com> <20180717175025.GA150378@joelaf.mtv.corp.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180717175025.GA150378@joelaf.mtv.corp.google.com> 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 17-Jul 10:50, Joel Fernandes wrote: > On Mon, Jul 16, 2018 at 09:28:55AM +0100, Patrick Bellasi wrote: [...] > > diff --git a/init/Kconfig b/init/Kconfig > > index 041f3a022122..1d45a6877d6f 100644 > > --- a/init/Kconfig > > +++ b/init/Kconfig > > @@ -583,6 +583,25 @@ config HAVE_UNSTABLE_SCHED_CLOCK > > config GENERIC_SCHED_CLOCK > > bool > > > > +menu "Scheduler features" > > + > > +config UCLAMP_TASK > > + bool "Enable utilization clamping for RT/FAIR tasks" > > + depends on CPU_FREQ_GOV_SCHEDUTIL > > Does it make sense to depend on this? One could turn off schedutil and then > uclamp can't be used for any other purpose (big.LITTLE task placement etc)? You right, utilization clamping is _going_ to target tasks placement. But, the support currently posted in this series is just for OPP biasing. Thus, it would not make sense to enabled it when schedutil is not available. My idea was to keep this dependency while we finalize these bits. Once we move on to the tasks placement biasing, we will remove this dependency too. Does that makes sense? > thanks, > > - Joel -- #include Patrick Bellasi