powerpc/smp: Avoid asym packing within thread_group of a core
authorSrikar Dronamraju <srikar@linux.vnet.ibm.com>
Thu, 14 Dec 2023 18:07:14 +0000 (23:37 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 15 Dec 2023 02:51:34 +0000 (13:51 +1100)
commit0e93f1c780e8fd315f1262467b7d35eb6f766d2f
tree76217c56dae9ede4390bdec933b5ac87a6d03fa2
parentfd535a858ebeb1f478b1d065b6c057f52aad483a
powerpc/smp: Avoid asym packing within thread_group of a core

PowerVM Hypervisor will schedule at a core granularity. However each
core can have more than one thread_groups. For better utilization in
case of a shared processor, its preferable for the scheduler to pack to
the lowest core. However there is no benefit of moving a thread between
two thread groups of the same core.

Signed-off-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231214180720.310852-5-srikar@linux.vnet.ibm.com
arch/powerpc/kernel/smp.c