Re: [PATCH] cpufreq: schedutil: fix equation in comment
From: Peter Zijlstra
Date: Mon Aug 05 2019 - 09:06:33 EST
On Fri, Aug 02, 2019 at 11:46:28AM +0100, Qais Yousef wrote:
> scale_irq_capacity() call in schedutil_cpu_util() does
>
> util *= (max - irq)
> util /= max
>
> But the comment says
>
> util *= (1 - irq)
> util /= max
>
> Fix the comment to match what the scaling function does.
>
> Signed-off-by: Qais Yousef <qais.yousef@xxxxxxx>
Thanks!