sched/topology: Record number of cores in sched group
authorTim C Chen <tim.c.chen@linux.intel.com>
Fri, 7 Jul 2023 22:57:01 +0000 (15:57 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Thu, 13 Jul 2023 13:21:51 +0000 (15:21 +0200)
commitd24cb0d9113f5932b8832533ce82351b5911ed50
treea64a4159f45e28f5a4a34da1a1c36f81dc3f3d48
parentfee1759e4f042aaaa643c50369a03a9a6559a575
sched/topology: Record number of cores in sched group

When balancing sibling domains that have different number of cores,
tasks in respective sibling domain should be proportional to the
number of cores in each domain. In preparation of implementing such a
policy, record the number of cores in a scheduling group.

Signed-off-by: Tim Chen <tim.c.chen@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/04641eeb0e95c21224352f5743ecb93dfac44654.1688770494.git.tim.c.chen@linux.intel.com
kernel/sched/sched.h
kernel/sched/topology.c