Re: [PATCH] cpufreq: schedutil: fix equation in comment
From: Qais Yousef
Date: Thu Aug 08 2019 - 07:44:06 EST
On 08/07/19 11:42, Rafael J. Wysocki wrote:
> On Monday, August 5, 2019 3:06:20 PM CEST Peter Zijlstra wrote:
> > 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!
> >
>
> I've applied this, so please let me know if it has gone into -tip too and I'll drop it then.
FYI I've just got an email from tip-bot that it was committed there.
Thanks!
--
Qais Yousef