Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4085308ybi; Mon, 3 Jun 2019 05:33:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqy/vqTD7hLX3ybDbXtHzSU70Bz/4+NHCDWukR+Tzy4cnEw7bItP/JAQ8JfNzrI5rzjnPIbI X-Received: by 2002:a17:90a:d582:: with SMTP id v2mr28524732pju.22.1559565199672; Mon, 03 Jun 2019 05:33:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559565199; cv=none; d=google.com; s=arc-20160816; b=VK7yQ1BagHv5WRw3ZQ1BYSh/TkTbBYkS7KO/pAEXiBrZIqkDm7Veaz6jRdTlw0w6Mz GwSOePWr6ijn1uk+yszb4LZ13C7/nwt9Rjunpay9PuXE+pED7FoDWTagrijWcPQ0Eej9 ffCe45ccUGBULXTMzvyBd4jCZRb6zVZ+WYH8huw3PLnl39bDS7P+QjCHkjjNVzgnmNXC eq8MuuOEd03c2erR4fDxtfiUNlzZOYu6/15UmQP6G78UsNdVNHkp5TT4BBsSImpoJnU1 Gns6Uz0t5YssDBSXSJmPqiUyIBLCD7ADRHWDPhs/KOpLWZRbKbeS+yAXBPeXpPY5Gh1y HZVQ== 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; bh=G/68Jy05k9i9InDkjW4x6uC7VcOBuDBEaJlakMKUulU=; b=f75CsG5un2JFQqFoOtco9tHq/Y7nDBI+iJyHqhAoxWh0uvE53VV1V3xqnxGDSirFPD Ad+R6/vSNXpE4mjZds4h6MLf5zjLMZtQiJoGNI9uael92OdMi5bleEgnLzIwc7v1jSJJ etNcF0MRiMDZ7lkjJ1UJrB3zXg3IcJWKkEDYqXtiUps+nVkyCb0dXUxr6161SS3Z5OLh O6cAl+rx0/kdFV5Fww8PlfqJ+w+Ju89vbqZejgwrGNab9B1EL+gUrkPWV86hN1RewLp/ cx9b72H6/5/EFDwuk7NvOdFIQ2d0Q+e92gLYwnUlftJnHZVDgJI4OGWNWtVE4fuyjv/f nOlw== 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 m6si17641074pgq.275.2019.06.03.05.33.00; Mon, 03 Jun 2019 05:33:19 -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 S1727141AbfFCM3h (ORCPT + 99 others); Mon, 3 Jun 2019 08:29:37 -0400 Received: from foss.arm.com ([217.140.101.70]:50214 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726137AbfFCM3h (ORCPT ); Mon, 3 Jun 2019 08:29:37 -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 C6E6C15A2; Mon, 3 Jun 2019 05:29:36 -0700 (PDT) Received: from darkstar (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 867063F5AF; Mon, 3 Jun 2019 05:29:32 -0700 (PDT) Date: Mon, 3 Jun 2019 13:29:29 +0100 From: Patrick Bellasi To: Tejun Heo , Peter Zijlstra Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-api@vger.kernel.org, Ingo Molnar , "Rafael J . Wysocki" , Vincent Guittot , Viresh Kumar , Paul Turner , Quentin Perret , Dietmar Eggemann , Morten Rasmussen , Juri Lelli , Todd Kjos , Joel Fernandes , Steve Muckle , Suren Baghdasaryan Subject: Re: [PATCH v9 12/16] sched/core: uclamp: Extend CPU's cgroup controller Message-ID: <20190603122929.GC19426@darkstar> References: <20190515094459.10317-1-patrick.bellasi@arm.com> <20190515094459.10317-13-patrick.bellasi@arm.com> <20190531153545.GE374014@devbig004.ftw2.facebook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190531153545.GE374014@devbig004.ftw2.facebook.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 31-May 08:35, Tejun Heo wrote: > Hello, Patrick. > > On Wed, May 15, 2019 at 10:44:55AM +0100, Patrick Bellasi wrote: [...] > For proportions (as opposed to weights), we use percentage rational > numbers - e.g. 38.44 for 38.44%. I have parser and doc update commits > pending. I'll put them on cgroup/for-5.3. That's a point worth discussing with Peter, we already changed one time from percentages to 1024 scale. Utilization clamps are expressed as percentages by definition, they are just expressed in a convenient 1024 scale which should not be alien to people using those knobs. If we wanna use a "more specific" name like uclamp.{min,max} then we should probably also accept to use a "more specific" metric, don't we? I personally like the [0..1024] range, but I guess that's really up to you and Peter to agree upon. > Thanks. > > -- > tejun Cheers, Patrick -- #include Patrick Bellasi