aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorDietmar Eggemann <[email protected]>2016-08-10 11:27:27 +0100
committerIngo Molnar <[email protected]>2016-09-05 13:29:44 +0200
commit2665621506e178a1f62e59200403c359c463ea5e (patch)
tree7e6ccad8b41242f4fef85849ecbc7cb38881742f /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parentd8206bb3ffe0eaee03abfad46fd44d8b17142e88 (diff)
sched/fair: Fix load_above_capacity fixed point arithmetic width
Since commit: 2159197d6677 ("sched/core: Enable increased load resolution on 64-bit kernels") we now have two different fixed point units for load. load_above_capacity has to have 10 bits fixed point unit like PELT, whereas NICE_0_LOAD has 20 bit fixed point unit on 64-bit kernels. Fix this by scaling down NICE_0_LOAD when multiplying load_above_capacity with it. Signed-off-by: Dietmar Eggemann <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Acked-by: Vincent Guittot <[email protected]> Acked-by: Morten Rasmussen <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Yuyang Du <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions