summaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/sysinfo.h
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2016-12-02 11:12:01 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2016-12-07 07:23:33 +0100
commite6d4a636acdb784f087d6d54fc93dcc952267d47 (patch)
treeeb522e11901927d52f7a670a6b154ff7f904ee4f /arch/s390/include/asm/sysinfo.h
parent8c9105802235c28b03359d779cbd0557b7b66e70 (diff)
downloadop-kernel-dev-e6d4a636acdb784f087d6d54fc93dcc952267d47.zip
op-kernel-dev-e6d4a636acdb784f087d6d54fc93dcc952267d47.tar.gz
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>
Diffstat (limited to 'arch/s390/include/asm/sysinfo.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud