OpenCloudOS-Kernel/arch/s390/numa
Heiko Carstens ef4423ce70 s390/numa: only set possible nodes within node_possible_map
Make sure that only those nodes appear in the node_possible_map that
may actually be used. Usually that means that the node online and
possible maps are identical. For mode "plain" we only have one node,
for mode "emu" we have "emu_nodes" nodes.

Before this the possible map included (with default config) 16 nodes
while usually only one was used. That made a couple of loops that
iterated over all possible nodes do more work than necessary.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Acked-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2016-07-31 05:28:00 -04:00
..
Makefile s390/numa: add emulation support 2015-08-04 14:06:53 +02:00
mode_emu.c s390/numa: only set possible nodes within node_possible_map 2016-07-31 05:28:00 -04: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: add topology tree infrastructure 2015-08-03 18:40:26 +02:00
toptree.h s390/numa: add topology tree infrastructure 2015-08-03 18:40:26 +02:00