s390/numa: add topology tree infrastructure
authorPhilipp Hachtmann <phacht@linux.vnet.ibm.com>
Thu, 6 Mar 2014 17:39:39 +0000 (18:39 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 3 Aug 2015 16:40:26 +0000 (18:40 +0200)
commite8054b654bf5d4f549f4f24b708acce6d2718b1b
treeeac76bd64bf06f509903d6006f2ae1f1160c928a
parent3a368f742da13955bed4a2efed85ed7c1d826bcc
s390/numa: add topology tree infrastructure

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>
arch/s390/numa/Makefile
arch/s390/numa/toptree.c [new file with mode: 0644]
arch/s390/numa/toptree.h [new file with mode: 0644]