diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2016-07-28 19:14:29 +0300 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2016-07-31 12:28:00 +0300 |
commit | ef4423ce70b8a78768a6e854e4d84c082800317d (patch) | |
tree | eedd16f150f0baa440ed2e2db0841081586ed956 /drivers/s390/crypto | |
parent | 8814309163345830fa571fd8c153a8230b94db36 (diff) | |
download | linux-ef4423ce70b8a78768a6e854e4d84c082800317d.tar.xz |
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>
Diffstat (limited to 'drivers/s390/crypto')
0 files changed, 0 insertions, 0 deletions