Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp753605imm; Wed, 18 Jul 2018 10:03:51 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf3c9DNWS1WZ0NjDIjqesoNBl/uyCr74+RjuQuzhihmLU/UsJkmEjlqhGExok0RVIJqqZMt X-Received: by 2002:a17:902:2c83:: with SMTP id n3-v6mr6623505plb.211.1531933431211; Wed, 18 Jul 2018 10:03:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531933431; cv=none; d=google.com; s=arc-20160816; b=wWhB0hHxtxaNuEovwtjLj+dy2/z/dPWgUUxgXaoi+DhXazi6uEyVJbRQtW+7FI6pZD CsArl+6hkyMU46gxToVvcQG+KRZXvE/vrDWQgulxLG/eJ1ArPff4ZuO49Q54ZWozD6Ue qluMK4NHY4TotNwXjN3ya4zZ2onZszNOiE+zOEmQsbShVnLWQtc489jzOymIGpRFAueS mGpWPN85HA2WiUNx027oTRmwSayk8jiHAblniwBgVLQOgd1X3Oxxgkno39UrtoCt8zk5 VatrCgpu7tGGe2QckYlEwikVL5qNhIo1t0q/n02MoENbAsFG9+IQSGAGeccg+cGRo431 VFkQ== 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:dkim-signature:arc-authentication-results; bh=2e2ukhbu9riqq4zcd3VFyWmCzyciZ8hYBsf883WRA8E=; b=G0nA2qPSt/fCOKOc3QwWdJUZHNo4caO6aJNu9uf8F85JHTI+F67ePd1oQ3d+J2X9mU Au6LK0BhHQ60GCofFdopI1yJBB/4OjfHt0wMZn9I03icd9sHm0KLuJZxuLt9TEHxLXT/ 9CRjOOPm9Z+2+ZTv2cAdSvjbsUFAyf3Gnc7MTNVPOLAa0jpcpgKyfREhtBHVtLF+bJqw +GL/+Fce8XMuSVmbBTOhIX+6vxXE3IyoomKI1TSs8avNv4xF9GKs2+XzPAOGTF/vta2W cIxjKw1JgiqtbslxUxerU7pcjRKDzAlYPG7ymQ3KAF9nWzhVYWsc/s7dmshveWPyyfzu 7tSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b=hHIVij+Y; 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 y22-v6si3375417plp.489.2018.07.18.10.03.35; Wed, 18 Jul 2018 10:03:51 -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; dkim=pass header.i=@joelfernandes.org header.s=google header.b=hHIVij+Y; 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 S1731563AbeGRRlR (ORCPT + 99 others); Wed, 18 Jul 2018 13:41:17 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:34159 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728000AbeGRRlR (ORCPT ); Wed, 18 Jul 2018 13:41:17 -0400 Received: by mail-pg1-f196.google.com with SMTP id y5-v6so2286895pgv.1 for ; Wed, 18 Jul 2018 10:02:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelfernandes.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=2e2ukhbu9riqq4zcd3VFyWmCzyciZ8hYBsf883WRA8E=; b=hHIVij+YJ6qiJHCzXIZQEdejKNE8n/23iiJ537tAfGr8T70jiGD9p2Db7IDJQz87t/ a+vKHPlKcTI63djjirBUUOEOeQNrvSkkc4plALVnRvCrS8QqayRZMvFbHeybuPjKqG67 M40boKhAwjlFCcQlEG6RZw32YzTsIHShS66nI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=2e2ukhbu9riqq4zcd3VFyWmCzyciZ8hYBsf883WRA8E=; b=AnLegSJP4O7bWKleEP8bhZACVe/PYF5jt0yBgbcoh4cyretTA1mDddda7B3l1AyhJV yEjr/I9htW2cdc4ugdCj3nz4C09yyExo49ocuwWAMNoz+khKNJwzIcmwGWjat2fVxXMi Ac5F3pqfFPwYv8u3pco6ml0dxyMCppnJlCwNPX44n42+LdN3/6gkeG7DsMco3X7zYXAb kkcM1o2aPy3XeJd8TWQg9+K9YfrxFl9SLAs74cNx74arCqc+6lEJB++gh+ZbSVFa3uyR sdMuIu4O8cjQQIRGpBKGSUjrZXEVugjzf+Lia6tfK33G3WilRRFONZBhPH7WlLIMy7qd 4+HQ== X-Gm-Message-State: AOUpUlFmWH1H6eruUjy29j8AF9eAV+8FGyn+DAMb0oqZdLiLeacN5cPU n5iprSzv4Kk7B4GyOz8tC581Zg== X-Received: by 2002:a63:704f:: with SMTP id a15-v6mr6505372pgn.443.1531933348272; Wed, 18 Jul 2018 10:02:28 -0700 (PDT) Received: from localhost ([2620:0:1000:1600:3122:ea9c:d178:eb]) by smtp.gmail.com with ESMTPSA id t88-v6sm16391331pfg.10.2018.07.18.10.02.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 18 Jul 2018 10:02:26 -0700 (PDT) Date: Wed, 18 Jul 2018 10:02:26 -0700 From: Joel Fernandes To: Patrick Bellasi 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: <20180718170226.GA21148@joelaf.mtv.corp.google.com> References: <20180716082906.6061-1-patrick.bellasi@arm.com> <20180716082906.6061-2-patrick.bellasi@arm.com> <20180717175025.GA150378@joelaf.mtv.corp.google.com> <20180718084218.GI32302@e110439-lin> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180718084218.GI32302@e110439-lin> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 18, 2018 at 09:42:18AM +0100, Patrick Bellasi wrote: > 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? Yes, that's fine with me.