]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: smp: remove cpu and numa topology information when hotplugging out CPU
authorSudeep Holla <sudeep.holla@arm.com>
Fri, 6 Jul 2018 11:02:46 +0000 (12:02 +0100)
committerWill Deacon <will.deacon@arm.com>
Fri, 6 Jul 2018 12:18:18 +0000 (13:18 +0100)
commitebc6799f12ac2cfafe9373e9038645fbf5bdfd6b
tree957d6be39e2b5c3deca410622277c4275453ec1c
parent3794d8db4f2f370e3df17db4d197e45f01f947ab
arm64: smp: remove cpu and numa topology information when hotplugging out CPU

We already repopulate the information on CPU hotplug-in, so we can safely
remove the CPU topology and NUMA cpumap information during CPU hotplug
out operation. This will help to provide the correct cpumask for
scheduler domains.

Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Tested-by: Ganapatrao Kulkarni <ganapatrao.kulkarni@cavium.com>
Tested-by: Hanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/smp.c