Re: [GIT PULL] Scheduler changes for v6.8

From: Dietmar Eggemann
Date: Mon Jan 15 2024 - 15:05:35 EST


On 15/01/2024 16:26, Vincent Guittot wrote:
> On Mon, 15 Jan 2024 at 15:03, Dietmar Eggemann <dietmar.eggemann@xxxxxxx> wrote:
>>
>> On 15/01/2024 14:26, Vincent Guittot wrote:
>>> On Mon, 15 Jan 2024 at 13:09, Qais Yousef <qyousef@xxxxxxxxxxx> 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@xxxxxxxxxx