Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp509663ybd; Sat, 22 Jun 2019 08:10:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqwP1iTf46unGMSbRNhwrPnqVt84EaLWTzw0SeO2BbPW5UFOF4j4ZFoSLkaKN5ATVUByPtWY X-Received: by 2002:a17:902:704c:: with SMTP id h12mr21285637plt.214.1561216201277; Sat, 22 Jun 2019 08:10:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561216201; cv=none; d=google.com; s=arc-20160816; b=y8NGfPpTUtC0qiTtyM9o0f84Nl3QLutxLamgFqm8RVYlUkHoLTPKh6reFLrkNC3seX 9BaMMFwpf0YPjM7YAp/rSygr9CDcIwfZ6vvmeTsZ7y25Mpb40l42gjVK5sbEjOCJ7E5d KN3xbx8SNgf3FFc+MY8PTPYgaY6mK/LI7nHU/EuAZADWPcBxr2AE667UXM9qZPN2vCXp YPDLWp1flEDyS7Svfa5jQGkoLqv8ctaQoUxB7L0vgfQgaOyELI+eO3CdM9v4jheR+Vy4 Bjfce+Q9Zi3Y1rpput69jCEld5RVbM3YUArnhslFIg7GvxZd1j9h03hPk2+xfNoV8q0y h6lA== 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; bh=sbUv5Ghr2QUEpwlMJyUaWOcmUJZ/i8veZoTP8QCCKKo=; b=1D7FZR5bt2E25qhvePxnIhS/VwRAvzodMg7DSeYD9oU+v+1VH+Vj/L+2jgSyqjcgdf TdDMc+CVI91RQ5DQd+EVvnm+m39e4yidmbouAP7eskUiEGdTvCnSWghGajpSTgmWZIBz E8vwEH6QsdrP7ZJlp6f+HR7HFKhfIQG6z6WP41t1yJo5E5/wxChfwmqYqKy1ND4s3oh8 z/LzMUjQC9moyUatatyxWA9qAplFfVZbRJHfJyTE4CHCfxun7LimJSkw6eo5xgGZTQGS cP96vAoNVyKa1LOzBUmhZQhhV0WHHCD6Rwn47TmFSBnuBijoqBlm1Q19GMb5Llcnk9Qq O9KA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=bux3eERf; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 36si5655341pla.80.2019.06.22.08.09.45; Sat, 22 Jun 2019 08:10:01 -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=fail header.i=@gmail.com header.s=20161025 header.b=bux3eERf; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726343AbfFVPHy (ORCPT + 99 others); Sat, 22 Jun 2019 11:07:54 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:42549 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726276AbfFVPHx (ORCPT ); Sat, 22 Jun 2019 11:07:53 -0400 Received: by mail-qt1-f195.google.com with SMTP id s15so10000696qtk.9; Sat, 22 Jun 2019 08:07:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=sbUv5Ghr2QUEpwlMJyUaWOcmUJZ/i8veZoTP8QCCKKo=; b=bux3eERfT9v0n1r99AC5YnwdZOoOPt9Gf8McdzxCGPLnXp6BM2TFYr0P207lgK7bNW R1LqhDKLEjzoFCnCni90/Vf8HVHL0FewydXa2g5SxNe9zhtP7jdjGwnw15T8Zb3hc4BL 0Zf4C/sSjsTC2iVqBGwRBGHMt0ig/QuDrOnUmDiM4yhcFnqzinMNtsaFLyHaDMju4sTk 1v8Vk2KFZnBZq1O+6jLcjU+hBiVfVNlUrxlzhYBEzugiqbNWRA1hsMJwDqa4xCVPc+Vb Hr0ahmxEoKWx+t9OnqIADxuh2DHYOtcZA7dmS7m2bwkhTXB5RkfajZnhxzWvgJUziWVQ 4tTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=sbUv5Ghr2QUEpwlMJyUaWOcmUJZ/i8veZoTP8QCCKKo=; b=OmQwheiqZGUsd11QHxw30kWK2srx2BJscZJvSjPHJVtn2G9HxCjQqXst6Bfc3Vwo50 tMknF2O2ixdDetUYXcBIsLiI5HEgCk6xrRDpEom4WQsMg51biW3XUky5exJemYQVR7OR hiPue1ethFCKouzHV/gK+uoXOYbCw+PyGogZ67xvv2RB+a7996u0Jv5WjFDtjE6jC6mB 86qKOiWGToWjdrnxOs8+y0bNSbN90xoJpulzF4tdAQ19jRjhk/v76ldQ9NUra6IvUtqi XUeJ/4yXoZyXkICkibgedKsWsRHzPu3ty3fmuDTUTCNnBR62LshL3bPA6t/Up6Ncrpbv xQTQ== X-Gm-Message-State: APjAAAUrYDBUoBFh0tNPYart4g7/muJBODPrC2OHubCHlkoW1irzz4Jy OclBjL0RuW6AJITG63a/fW0= X-Received: by 2002:a0c:b12b:: with SMTP id q40mr20280998qvc.0.1561216072644; Sat, 22 Jun 2019 08:07:52 -0700 (PDT) Received: from localhost ([2620:10d:c091:480::e3ca]) by smtp.gmail.com with ESMTPSA id x24sm2245761qkf.27.2019.06.22.08.07.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 22 Jun 2019 08:07:52 -0700 (PDT) Date: Sat, 22 Jun 2019 08:07:50 -0700 From: Tejun Heo To: Patrick Bellasi Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Ingo Molnar , Peter Zijlstra , "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 , Alessio Balsini Subject: Re: [PATCH v10 13/16] sched/core: uclamp: Propagate parent clamps Message-ID: <20190622150750.GN657710@devbig004.ftw2.facebook.com> References: <20190621084217.8167-1-patrick.bellasi@arm.com> <20190621084217.8167-14-patrick.bellasi@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190621084217.8167-14-patrick.bellasi@arm.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Fri, Jun 21, 2019 at 09:42:14AM +0100, Patrick Bellasi wrote: > Since it can be interesting for userspace, e.g. system management > software, to know exactly what the currently propagated/enforced > configuration is, the effective clamp values are exposed to user-space > by means of a new pair of read-only attributes > cpu.util.{min,max}.effective. Can we not add the effective interface file for now? I don't think it's a bad idea but would like to think more about it. For cpuset, it was needed because configuration was so interwoven with the effective masks, but we don't generally do this for other min/max or weight knobs, all of which have effective hierarchical values and I'm not quite sure about adding .effective for all of them. It could be that that's what we end up doing eventually but I'd like to think a bit more about it. Thanks. -- tejun