OpenCloudOS-Kernel/arch/s390/numa
Heiko Carstens e6d4a636ac s390/numa: pin all possible cpus to nodes early
It is required to have an early static cpu to node mapping. This patch
pins all possible cpus to nodes for which no topology information is
present. Since there is no interface available which would allow to
tell where a non-present cpu would appear topology-wise, simply use a
round robin algorithm.
Right now this makes sure that the cpu_to_node() function will return
the same value for a cpu during the life time of the system.

Acked-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2016-12-07 07:23:33 +01:00
..
Makefile s390/numa: add emulation support 2015-08-04 14:06:53 +02:00
mode_emu.c s390/numa: pin all possible cpus to nodes early 2016-12-07 07:23:33 +01:00
numa.c s390/numa: only set possible nodes within node_possible_map 2016-07-31 05:28:00 -04:00
numa_mode.h s390/numa: add emulation support 2015-08-04 14:06:53 +02:00
toptree.c s390/numa: establish cpu to node mapping early 2016-12-07 07:23:25 +01:00
toptree.h s390/numa: add topology tree infrastructure 2015-08-03 18:40:26 +02:00