lkml.org 
[lkml]   [2019]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] cpufreq: schedutil: fix equation in comment
Date
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@arm.com>
>
> Thanks!
>

I've applied this, so please let me know if it has gone into -tip too and I'll drop it then.



\
 
 \ /
  Last update: 2019-08-07 11:42    [W:0.258 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site