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

    \
     
     \ /
      Last update: 2019-08-05 15:26    [W:6.562 / U:0.036 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site