aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorQais Yousef <[email protected]>2019-08-02 11:46:28 +0100
committerPeter Zijlstra <[email protected]>2019-08-08 09:09:31 +0200
commit5c3ceef9ad7b340b0acee6c26d0c9e6429decb2c (patch)
tree7e6550de9798a92f0be91e200d6746c379caea8d /lib/test_overflow.c
parent67692435c411e5c53a1c588ecca2037aebd81f2e (diff)
cpufreq: schedutil: fix equation in comment
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 <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Acked-by: Viresh Kumar <[email protected]> Acked-by: Vincent Guittot <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: "Rafael J . Wysocki" <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions