Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp228011imm; Thu, 26 Jul 2018 17:40:31 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcLhZQ/TC7uZUB0kssNZEyPQqizzMyBaWlbLrWdN7ZIiDwk7+y8b2+zJy0F6gK5CPfBB8CP X-Received: by 2002:a63:5204:: with SMTP id g4-v6mr3994019pgb.274.1532652031460; Thu, 26 Jul 2018 17:40:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532652031; cv=none; d=google.com; s=arc-20160816; b=KTLZ314L3DAVPoRgy8EjMVGwj188AJwKBldY/qgaokrOQqx5pawz0FY1ij4FeBPzbg w+kKdHd4Pq4ZRFbXeyCcEOWcTWJxhG9d1lXOgZYD11dsrgz8TP/QhaEmpJofiItRS0ir wkQj5yxCyTLpkZVC6xDKj/wPF58Gy4lBZf9GwdnuEYyazhH2yJLACzFP74UjstTtApIv FC9ypROcXdKY9z5Rx/65FqvGwepIasd/o7TA/LbWfq6IJljutDvGfQ47gR02ZuJTA3Tr 5FURdIO2OuUBM/Y25H0j/eFI1SXnMzPQjNFAo5mgyFh8TjMsDFjnkEay74xDmiyEG7JU 5/zw== 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=4opr+/kHytBWMkdVdGM8uECAls6MsLpo+kmC9K8FzLs=; b=tbfUDa0XQLV9lNLXHwSm60kIymO4BxZkHPsl7CbnHp3p4p4lDKVquOoS662YliNdSP fuNuyHnRM41crcCvYMXuqRt/uFUD57KuNkKZBhKb14Ezy9nQort/VoVCng0cYfp4XD7D 2mQd1hOEn7stz2z2Aa0IvhoiPK2m6RX/4Nm//7ACbd4KgC38FuNqukBozQD1f636dQtx zKZUgG8eQyh8RSQGQbVh1gAXp5ogKGRJF/H2C1oxWF4dkOhSkrTikLR4Nn+ukkrl+x0N /AdY6SNfgv+lKiT9g1BdPwzWLNd57xysBLHj35cGJU5S9OX/AAZu01hsLn/3BIVGsbLz /gLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b=UInheXtX; 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 y7-v6si2612069pgj.370.2018.07.26.17.40.14; Thu, 26 Jul 2018 17:40:31 -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=UInheXtX; 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 S1731999AbeG0B6h (ORCPT + 99 others); Thu, 26 Jul 2018 21:58:37 -0400 Received: from mail-pl0-f65.google.com ([209.85.160.65]:44223 "EHLO mail-pl0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731918AbeG0B6h (ORCPT ); Thu, 26 Jul 2018 21:58:37 -0400 Received: by mail-pl0-f65.google.com with SMTP id m16-v6so1534426pls.11 for ; Thu, 26 Jul 2018 17:39:21 -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=4opr+/kHytBWMkdVdGM8uECAls6MsLpo+kmC9K8FzLs=; b=UInheXtXHoL+Wg8MZ02XJMAqu5psEr5g0313KlbI0MML96BqdGx2OEPawjbnMrUtlo IKSHeEGZArkdQruLrsgIrtH/4F94dmZ7D/UIxlASGU/ByqHB3Y4PjHyEozWWd/CB+UmJ +bq6RVwtIjUXUBIXEdlzS0LgaP1WN2dil5DsI= 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=4opr+/kHytBWMkdVdGM8uECAls6MsLpo+kmC9K8FzLs=; b=jDQWkp9iBmmcBvX1CNNJUbpGbAQiuN0VICdsAkxPWJWkk6+nrvZxiXe9sFL5FzktGw yTw5cNyJ/omOXB8yJ3yyuUEGmEEt690sK7V5I7r24XOQqJw4mSGVBE/BKbYv+aiWNfe0 m5tZHwKxwLmOhDJ/NEScgzlSQlbCJETGRBZh2f5RF6cu1QX9Vud+mp+0NnkOJCHmQavy i4GkiByU2/KK3hQzf8hlwjopZfvMsBGvCGYk54En1pm+eHXc7DO77KAtuq1T6IBVx5/B PB866WHdVdGjkNwaBu+sACr8OGBPM+wO76CgoBIysXVulgtRJF2sMnWyxXJZ2nX46N7x o/wQ== X-Gm-Message-State: AOUpUlFr2Q7a8+I6myc+1aQF9Mi2LJAV9n91XMFGKPYhc05hRbkCRAy9 8nTc8XNR8ieo+t0G1u/JrfyYAQ== X-Received: by 2002:a17:902:9a06:: with SMTP id v6-v6mr3893781plp.21.1532651960915; Thu, 26 Jul 2018 17:39:20 -0700 (PDT) Received: from localhost ([2620:0:1000:1600:3122:ea9c:d178:eb]) by smtp.gmail.com with ESMTPSA id u2-v6sm4065372pfn.59.2018.07.26.17.39.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 26 Jul 2018 17:39:20 -0700 (PDT) Date: Thu, 26 Jul 2018 17:39:19 -0700 From: Joel Fernandes To: Tejun Heo Cc: Patrick Bellasi , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Ingo Molnar , Peter Zijlstra , "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 08/12] sched/core: uclamp: extend cpu's cgroup controller Message-ID: <20180727003919.GA22416@joelaf.mtv.corp.google.com> References: <20180716082906.6061-1-patrick.bellasi@arm.com> <20180716082906.6061-9-patrick.bellasi@arm.com> <20180723153040.GG1934745@devbig577.frc2.facebook.com> <20180723172215.GG2683@e110439-lin> <20180724132902.GI1934745@devbig577.frc2.facebook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180724132902.GI1934745@devbig577.frc2.facebook.com> 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 Tue, Jul 24, 2018 at 06:29:02AM -0700, Tejun Heo wrote: > Hello, Patrick. > > On Mon, Jul 23, 2018 at 06:22:15PM +0100, Patrick Bellasi wrote: > > However, the "best effort" bandwidth control we have for CFS and RT > > can be further improved if, instead of just looking at time spent on > > CPUs, we provide some more hints to the scheduler to know at which > > min/max "MIPS" we want to consume the (best effort) time we have been > > allocated on a CPU. > > > > Such a simple extension is still quite useful to satisfy many use-case > > we have, mainly on mobile systems, like the ones I've described in the > > "Newcomer's Short Abstract (Updated)" > > section of the cover letter: > > https://lore.kernel.org/lkml/20180716082906.6061-1-patrick.bellasi@arm.com/T/#u > > So, that's all completely fine but then let's please not give it a > name which doesn't quite match what it does. We can just call it > e.g. cpufreq range control. But then what name can one give it if it does more than one thing, like task-placement and CPU frequency control? It doesn't make sense to name it cpufreq IMHO. Its a clamp on the utilization of the task which can be used for many purposes. thanks, - Joel