summaryrefslogtreecommitdiffstats
path: root/kernel/sched/cpupri.h
diff options
context:
space:
mode:
authorDietmar Eggemann <dietmar.eggemann@arm.com>2020-05-20 15:42:39 +0200
committerPeter Zijlstra <peterz@infradead.org>2020-06-15 14:10:04 +0200
commitc81b89329933c6c0be809d4c0d2cb57c49153ee3 (patch)
tree61e691ce0cd1a84035ecb5f7cf64fba8457a5c72 /kernel/sched/cpupri.h
parent9b1b234bb86bcdcdb142e900d39b599185465dbb (diff)
downloadlinux-c81b89329933c6c0be809d4c0d2cb57c49153ee3.tar.bz2
sched/deadline: Optimize dl_bw_cpus()
Return the weight of the root domain (rd) span in case it is a subset of the cpu_active_mask. Continue to compute the number of CPUs over rd span and cpu_active_mask when in hotplug. Signed-off-by: Dietmar Eggemann <dietmar.eggemann@arm.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Juri Lelli <juri.lelli@redhat.com> Link: https://lkml.kernel.org/r/20200520134243.19352-2-dietmar.eggemann@arm.com
Diffstat (limited to 'kernel/sched/cpupri.h')
0 files changed, 0 insertions, 0 deletions