diff options
| author | Qais Yousef <[email protected]> | 2019-08-02 10:46:28 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2019-08-08 07:09:31 +0000 |
| commit | 5c3ceef9ad7b340b0acee6c26d0c9e6429decb2c (patch) | |
| tree | 7e6550de9798a92f0be91e200d6746c379caea8d /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | sched: Rework pick_next_task() slow-path (diff) | |
| download | kernel-5c3ceef9ad7b340b0acee6c26d0c9e6429decb2c.tar.gz kernel-5c3ceef9ad7b340b0acee6c26d0c9e6429decb2c.zip | |
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 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
