sched/fair: Remove stale FREQUENCY_UTIL comment
authorChristian Loehle <christian.loehle@arm.com>
Tue, 5 Mar 2024 15:18:20 +0000 (15:18 +0000)
committerIngo Molnar <mingo@kernel.org>
Fri, 17 May 2024 07:51:54 +0000 (09:51 +0200)
commit7cb7fb5b49399fc59f1c44686d82c0df0776c8c6
treeccd5f9017168d8164a8aafa84dcdb23afd69fce5
parent72bffbf57c5247ac6146d1103ef42e9f8d094bc8
sched/fair: Remove stale FREQUENCY_UTIL comment

On 05/03/2024 15:05, Vincent Guittot wrote:

I'm fine with either and that was my first thought here, too, but it did seem like
the comment was mostly placed there to justify the 'unexpected' high utilization
when explicitly passing FREQUENCY_UTIL and the need to clamp it then.
So removing did feel slightly more natural to me anyway.

So alternatively:

From: Christian Loehle <christian.loehle@arm.com>
Date: Tue, 5 Mar 2024 09:34:41 +0000
Subject: [PATCH] sched/fair: Remove stale FREQUENCY_UTIL mention

effective_cpu_util() flags were removed, so remove mentioning of the
flag.

commit 9c0b4bb7f6303 ("sched/cpufreq: Rework schedutil governor performance estimation")
reworked effective_cpu_util() removing enum cpu_util_type. Modify the
comment accordingly.

Signed-off-by: Christian Loehle <christian.loehle@arm.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Vincent Guittot <vincent.guittot@linaro.org>
Link: https://lore.kernel.org/r/0e2833ee-0939-44e0-82a2-520a585a0153@arm.com
kernel/sched/fair.c