summaryrefslogtreecommitdiffstats
path: root/kernel/ucount.c
diff options
context:
space:
mode:
authorVincent Guittot <vincent.guittot@linaro.org>2018-09-04 11:36:26 +0200
committerIngo Molnar <mingo@kernel.org>2018-09-10 10:13:47 +0200
commit287cdaac5700c5b8970d739f73d742d863d3e2ca (patch)
tree69b28bcd4e43b0467c39a744e87a0692645f62ba /kernel/ucount.c
parentd0cdb3ce8834332d918fc9c8ff74f8a169ec9abe (diff)
downloadlinux-287cdaac5700c5b8970d739f73d742d863d3e2ca.tar.gz
linux-287cdaac5700c5b8970d739f73d742d863d3e2ca.tar.bz2
linux-287cdaac5700c5b8970d739f73d742d863d3e2ca.zip
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 <srikar@linux.vnet.ibm.com> Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Fixes: 523e979d3164 ("sched/core: Use PELT for scale_rt_capacity()") Link: http://lkml.kernel.org/r/20180904093626.GA23936@linaro.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/ucount.c')
0 files changed, 0 insertions, 0 deletions