aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/topology.h
diff options
context:
space:
mode:
authorSrikar Dronamraju <srikar@linux.vnet.ibm.com>2020-01-29 19:23:00 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2020-03-04 22:44:30 +1100
commitdc909d8b0c9c0d2c42dc1cf34216c4830f639f7b (patch)
tree19726936c817c7a18bd24b3ad9446e586a3df6c5 /arch/powerpc/include/asm/topology.h
parentpowerpc/numa: Use cpu node map of first sibling thread (diff)
downloadlinux-dev-dc909d8b0c9c0d2c42dc1cf34216c4830f639f7b.tar.xz
linux-dev-dc909d8b0c9c0d2c42dc1cf34216c4830f639f7b.zip
powerpc/numa: Early request for home node associativity
Currently the kernel detects if its running on a shared lpar platform and requests home node associativity before the scheduler sched_domains are setup. However between the time NUMA setup is initialized and the request for home node associativity, workqueue initializes its per node cpumask. The per node workqueue possible cpumask may turn invalid after home node associativity resulting in weird situations like workqueue possible cpumask being a subset of workqueue online cpumask. This can be fixed by requesting home node associativity earlier just before NUMA setup. However at the NUMA setup time, kernel may not be in a position to detect if its running on a shared lpar platform. So request for home node associativity and if the request fails, fallback on the device tree property. Signed-off-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com> Reported-by: Abdul Haleem <abdhalee@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200129135301.24739-5-srikar@linux.vnet.ibm.com
Diffstat (limited to 'arch/powerpc/include/asm/topology.h')
0 files changed, 0 insertions, 0 deletions