From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3357C18E2A for ; Mon, 15 Jan 2024 20:05:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com 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 CF7A82F4; Mon, 15 Jan 2024 12:06:12 -0800 (PST) Received: from [192.168.178.6] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 190513F73F; Mon, 15 Jan 2024 12:05:23 -0800 (PST) Message-ID: <0880d81b-9c80-423c-95e6-2fe973e7d739@arm.com> Date: Mon, 15 Jan 2024 21:05:22 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [GIT PULL] Scheduler changes for v6.8 Content-Language: en-US To: Vincent Guittot Cc: Qais Yousef , Wyes Karny , Linus Torvalds , Ingo Molnar , linux-kernel@vger.kernel.org, Peter Zijlstra , Thomas Gleixner , Juri Lelli , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , Valentin Schneider References: <20240114091240.xzdvqk75ifgfj5yx@wyes-pc> <20240114123759.pjs7ctexcpc6pshl@wyes-pc> <20240114151250.5wfexq44o3mdm3nh@airbuntu> <20240114195815.nes4bn53tc25djbh@airbuntu> <20240115120915.fukpcdumntdsllwi@airbuntu> From: Dietmar Eggemann In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 15/01/2024 16:26, Vincent Guittot wrote: > On Mon, 15 Jan 2024 at 15:03, Dietmar Eggemann wrote: >> >> On 15/01/2024 14:26, Vincent Guittot wrote: >>> On Mon, 15 Jan 2024 at 13:09, Qais Yousef wrote: >>>> >>>> On 01/15/24 09:21, Vincent Guittot wrote: [...] > Now, util can't be higher than max to handle clamping use cases > whereas it could be the case before. The jump to next OPP was > previously done with util being higher than max and it's now done with > freq being higher than policy->cur Ah, OK: util = map_util_perf(util) <- (1) util *= 1.25 in the old code was doing this. And you do this now via frequency for the !freq_inv case. I just saw that you already mention this in the patch header of: https://lkml.kernel.org/r/20240114183600.135316-1-vincent.guittot@linaro.org