Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7664980imu; Tue, 22 Jan 2019 09:30:43 -0800 (PST) X-Google-Smtp-Source: ALg8bN7I3PYhj/RM2CNX1Zb8HtezzJUruHEM6X0ND8HvDHVEBf1nvwPFwqdIqCpbLtrV7fC4zsIf X-Received: by 2002:a17:902:4d46:: with SMTP id o6mr33713831plh.302.1548178243027; Tue, 22 Jan 2019 09:30:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548178242; cv=none; d=google.com; s=arc-20160816; b=a5Yt4GP7iplk8MKq6EOcI0KIQh9NRFCtoVq4CHDMMmmC50HksA7neN16eq8x3uCP+7 eNrWrSW04tnVAf2LIZm/ImQ7jXf5QTm2bEa+Lf9fNsYn0nGFjXkNYH82VfW89aj1fDpE dQPhvIEooTKwyG18hxCPGsT5/9Huoy1EiauZawxFxctI40fi/aRl1OoNqU79Yn5WA6fG Unf3PTutH0LicWrc2EJLc9MkvA3YLm7iI4VKkzpO/V7LLrZWW377N6vn/gtTOz1zFgI8 gHS6/UFMn1YGXw5trx48fs/BSFZHWMw5aAdEDFXg4J3TWG13vtAMC0xfYENNC33LqPA+ H+tA== 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=WZf9BQFAZbidDqul+7Djy5euCZ62cKsXHUrSkrJbVHE=; b=Ly+Cd7mbLTaExkmSCMrmCwJgaPjy40++cI7JKn1ei5GhRXShPMgWm5hOlblzJAWW/B ayCFEEZKtM2gtU0ESQsWvd/eT6snACFnHIMJZgWBJTfXHTmTB9aFv6k9PUCha3jon1Hh gZzAnm1YGtOruEvB7vvJ9lgA0MTi/A+4MN9DJ40EBgLG63jPvomEIfpVfRKJ5wPUVhAi xaYe7XT7UgoZbtP0e3The2hwQbv0ElyblgoyfwiOzmM3lxdYHANTBNcJ/PvMVADADFLz IBBN+BODPN1IR9nfEm8NpKox+jgBhc8DyBS3NGUYjA/5XwVslZ94adAajtYbHea6j5Pr axpw== 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 v13si17129954pgn.355.2019.01.22.09.30.26; Tue, 22 Jan 2019 09:30:42 -0800 (PST) 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 S1729223AbfAVPOM (ORCPT + 99 others); Tue, 22 Jan 2019 10:14:12 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:55502 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729015AbfAVPOL (ORCPT ); Tue, 22 Jan 2019 10:14:11 -0500 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 3A137A78; Tue, 22 Jan 2019 07:14:11 -0800 (PST) Received: from queper01-lin (queper01-lin.cambridge.arm.com [10.1.195.48]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 439CD3F589; Tue, 22 Jan 2019 07:14:08 -0800 (PST) Date: Tue, 22 Jan 2019 15:14:06 +0000 From: Quentin Perret To: Patrick Bellasi Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-api@vger.kernel.org, Ingo Molnar , Peter Zijlstra , Tejun Heo , "Rafael J . Wysocki" , Vincent Guittot , Viresh Kumar , Paul Turner , Dietmar Eggemann , Morten Rasmussen , Juri Lelli , Todd Kjos , Joel Fernandes , Steve Muckle , Suren Baghdasaryan Subject: Re: [PATCH v6 11/16] sched/fair: Add uclamp support to energy_compute() Message-ID: <20190122151404.5rtosic6puixado3@queper01-lin> References: <20190115101513.2822-1-patrick.bellasi@arm.com> <20190115101513.2822-12-patrick.bellasi@arm.com> <20190122121321.r6mv23ao57uut3t7@queper01-lin> <20190122124546.njrpmykzbjpztd6u@e110439-lin> <20190122132944.sfxlnpc3xeft4rqd@queper01-lin> <20190122142606.gc5hnc5pzefblegw@e110439-lin> <20190122143909.pmlqyhcjshyomrbw@queper01-lin> <20190122150137.fp4g4kdng2qpy6qx@e110439-lin> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190122150137.fp4g4kdng2qpy6qx@e110439-lin> User-Agent: NeoMutt/20171215 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday 22 Jan 2019 at 15:01:37 (+0000), Patrick Bellasi wrote: > > I'm not saying it's useful, I'm saying userspace can decide to do that > > if it thinks it is a good idea. The default should be min_cap = 1024 for > > RT, no questions. But you _can_ change it at runtime if you want to. > > That's my point. And doing that basically provides the same behaviour as > > what we have right now in terms of EAS calculation (but it changes the > > freq selection obviously) which is why I'm not fundamentally opposed to > > your patch. > > Well, I think it's tricky to say whether the current or new approach > is better... it probably depends on the use-case. Agreed. > > So in short, I'm fine with the behavioural change, but please at least > > mention it somewhere :-) > > Anyway... agree, it's just that to add some documentation I need to > get what you are pointing out ;) > > Will come up with some additional text to be added to the changelog Sounds good. > Maybe we can add a more detailed explanation of the different > behaviors you can get in the EAS documentation which is coming to > mainline ? Yeah, if you feel like it, I guess that won't hurt :-) Thanks, Quentin