Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2156631imu; Thu, 24 Jan 2019 08:06:59 -0800 (PST) X-Google-Smtp-Source: ALg8bN5VaYUc2dk/YjwEje+qwH+IHMqjhF2yIdVaPIhaE7FIsA80BOjnbHGsuGn1gJtBk5T9lO/0 X-Received: by 2002:a63:3d49:: with SMTP id k70mr6448145pga.191.1548346019779; Thu, 24 Jan 2019 08:06:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548346019; cv=none; d=google.com; s=arc-20160816; b=UsLw7KJAhtCegs058ODFTPbi2QiuSf1fh151Lr9acjklvlpgB/vWGnZl3ApGRRFSCa B3Y/tWIMrmcXWFWtP86sHLzTPoeRHrLmeBxV0S2GSwkEBpX2/OK2n+UQ2HeYPKIXMe3Y IcDuexDTtLMaysdSfQChpRUvDNxCd6glU1c1p1NCi37Nfdnu4gPfzRZMKK+6pPsIxEQt ehOuIrbxZdiBjIzseAhlxQYUnJwa3y7qeI9R4bzY9mFt1BEgeUX8Z20fvTkK3DApfeIa 6k3fp6pBzqn5SjlL1t+Y/4YbQqZA3iOjwy+lx9vcbjOUccbotyTuZoQk3tqcfN1uACgo YcFQ== 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=L6ZU0Q1X9S7fjmUy817c2stx/bTCyBhQFl4NcahwRHc=; b=CR2nzqlbxJrzczMY9J2HVI4YZ8+4dAZdgTTt8bVb34FbAuk1d3d2phmLIvzpMwgosQ OTtHeTa7rqBGZvRXR/FS7qcm9P4y6eMYvfAD/n0K8ira1qksVygrt1s+z+POEGtaf43d 5abIr9VwK2aaNWGYptpbDbaTAJBaSIc7lJbLX5ZUXra335yvKBlTiAbHcRMf4gu2ltVt ee1vii6Y6Tn2PCu/ioN0Z3gOTMBciTfoqxCCMDSf5rTXu67NYoVsnMr2c8xhXuozHVHU XVYJT0qjOQxcMdpbgwz0W1M0zMT755g6pOurGL9ApvIMGxSVF3G5HFUHGqgwewagDEbq BNWg== 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 a68si23412368pla.267.2019.01.24.08.06.36; Thu, 24 Jan 2019 08:06:59 -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 S1728864AbfAXQFY (ORCPT + 99 others); Thu, 24 Jan 2019 11:05:24 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:59864 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727649AbfAXQFY (ORCPT ); Thu, 24 Jan 2019 11:05:24 -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 836EEEBD; Thu, 24 Jan 2019 08:05:23 -0800 (PST) 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 8D6253F5AF; Thu, 24 Jan 2019 08:05:20 -0800 (PST) Date: Thu, 24 Jan 2019 16:05:18 +0000 From: Patrick Bellasi To: Peter Zijlstra Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-api@vger.kernel.org, Ingo Molnar , Tejun Heo , "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 v6 09/16] sched/cpufreq: uclamp: Add utilization clamping for RT tasks Message-ID: <20190124160518.isdg3lg3vn6gyb5f@e110439-lin> References: <20190115101513.2822-1-patrick.bellasi@arm.com> <20190115101513.2822-10-patrick.bellasi@arm.com> <20190124151559.GP13777@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190124151559.GP13777@hirez.programming.kicks-ass.net> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 24-Jan 16:15, Peter Zijlstra wrote: > On Tue, Jan 15, 2019 at 10:15:06AM +0000, Patrick Bellasi wrote: > > Add uclamp_default_perf, a special set of clamp values to be used > > for tasks requiring maximum performance, i.e. by default all the non > > clamped RT tasks. > > Urgh... why though? Because tasks without a task-specific clamp value assigned are subject to system default... but those, by default, don't clamp at all: uclamp_default = [0..1024] For RT tasks however, we want to execute then always at max OPP, if not otherwise requested (e.g. task-specific value). Thus we need a different set of default clamps: uclamp_perf_default = [1024..1024] -- #include Patrick Bellasi