diff options
author | Vincent Guittot <[email protected]> | 2018-09-04 11:36:26 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-09-10 10:13:47 +0200 |
commit | 287cdaac5700c5b8970d739f73d742d863d3e2ca (patch) | |
tree | 69b28bcd4e43b0467c39a744e87a0692645f62ba /scripts/gdb/linux/dmesg.py | |
parent | d0cdb3ce8834332d918fc9c8ff74f8a169ec9abe (diff) |
sched/fair: Fix scale_rt_capacity() for SMT
Since commit:
523e979d3164 ("sched/core: Use PELT for scale_rt_capacity()")
scale_rt_capacity() returns the remaining capacity and not a scale factor
to apply on cpu_capacity_orig. arch_scale_cpu() is directly called by
scale_rt_capacity() so we must take the sched_domain argument.
Reported-by: Srikar Dronamraju <[email protected]>
Signed-off-by: Vincent Guittot <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Srikar Dronamraju <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Fixes: 523e979d3164 ("sched/core: Use PELT for scale_rt_capacity()")
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/dmesg.py')
0 files changed, 0 insertions, 0 deletions