aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/numa/toptree.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2015-08-03s390/numa: add topology tree infrastructurePhilipp Hachtmann1-0/+60
NUMA emulation needs proper means to mangle the book/mc/core topology of the machine. The topology tree (toptree) consistently maintains cpu masks for the root, each node, and all leaves of the tree while the user may use the toptree functions to rearrange the tree in various ways. This patch contains several changes from Michael Holzheu. Signed-off-by: Philipp Hachtmann <phacht@linux.vnet.ibm.com> Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>