Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2845515ybd; Mon, 24 Jun 2019 13:53:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqzPDtpMWTFtm9uWef2Kw6qyQbjh+rjGhSxfadpTcBMNmQz1jSU63i+vi8IymGkbP74Zb8V7 X-Received: by 2002:a63:f346:: with SMTP id t6mr24144578pgj.203.1561409612383; Mon, 24 Jun 2019 13:53:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561409612; cv=none; d=google.com; s=arc-20160816; b=UpRX/3kxLAXJLfNMcUc2nc1lKq6lXaLlWQRJPRW/bRx2+0O7Ysk5u08OnTZpQ1Gq5d 8cyppFHTZysZwPa+gyS68XsU3hMBWeSkofUEsutPKPC2ULQrfKK/Y9UBs6SCg1Yaihne PtG6hlsZhd5UK1dp6tX4llEW94inNpYOaJ2z9NoojKQwF3ptFjm3WD2me9budhCi/qSz IJctfE9ww3EPqYhEtuyh0QITz44uQJ7oTcODbiPo09Kcdgr1IZO4QxNXPkqGKZAF/VCx l9YJfcHuneJ82LmqKCo1mMnMRcDiuDpKoI4mVDZM+3AGidua/Pttg8WAu0vX/37nD0FJ N9Ag== 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=lhgmQvCeJEHQ9+R+XoJWv+Iq9GBJ6khC6+epHzoxzPc=; b=trVCUyXtk0GtlqpO0B2eWz3I1F9ffDmU/q1EGzfWNdUayH1zys9QGCvq9X5aaPWUpL jS5oGzPPOupSIP1yYoFjMWI1a49OcdhWBnWJOFtN8dT46A38YAPG69MEVanPPsQvaGxm 3M7JeCpaUMm88DDhfayHlD5XRfUY+/jHpqjyD5y7CpTTnk6eP5j4K9+9gyq3KtxiADg0 poLWIkTLbanQ1dmTBq8ao3ft/fWzOKluoDGSKMO5nnQbojedYSWY+sYZ2TdR/U9rUYkL +9q7vYkgcrzSaSFlq86mBewCRu0Z2khJHKCrhQfuraraWVFgv+7VG/i5QoUWsZHpgQG7 rdUg== 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 36si11888229pla.80.2019.06.24.13.53.17; Mon, 24 Jun 2019 13:53:32 -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 S1732486AbfFXReK (ORCPT + 99 others); Mon, 24 Jun 2019 13:34:10 -0400 Received: from foss.arm.com ([217.140.110.172]:55534 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731032AbfFXReK (ORCPT ); Mon, 24 Jun 2019 13:34:10 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 80E7BC0A; Mon, 24 Jun 2019 10:34:09 -0700 (PDT) Received: from e110439-lin (e110439-lin.cambridge.arm.com [10.1.194.43]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 4810F3F718; Mon, 24 Jun 2019 10:34:07 -0700 (PDT) Date: Mon, 24 Jun 2019 18:34:05 +0100 From: Patrick Bellasi To: Tejun Heo 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: <20190624173405.enrxqalaqinbgsut@e110439-lin> References: <20190621084217.8167-1-patrick.bellasi@arm.com> <20190621084217.8167-14-patrick.bellasi@arm.com> <20190622150750.GN657710@devbig004.ftw2.facebook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190622150750.GN657710@devbig004.ftw2.facebook.com> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22-Jun 08:07, Tejun Heo wrote: > Hello, Hi, > 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? You mean just the (read-only) user-space API right? I found it quite convenient, even just for debugging. Moreover it allows a container to know what it's exactly getting... > 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. ... but I see your point and, since it's not strictly required, I think we can drop it in v11. Will check better if it's of any use apart from debugging/testing support. > Thanks. > > -- > tejun Cheers, Patrick -- #include Patrick Bellasi