s390/mm: remove fake numa support
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 19 Feb 2020 12:29:15 +0000 (13:29 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Thu, 27 Feb 2020 15:02:21 +0000 (16:02 +0100)
commit701dc81e7412daaf3c5bf4bc55d35c8b1525112a
tree1f986fd4e3826553d5d6dce323dc95a756d5ce37
parent4a559cd15dbc79958fa9b18ad4e8afe4a0bf4744
s390/mm: remove fake numa support

It turned out that fake numa support is rather useless on s390, since
there are no scenarios where there is any performance or other benefit
when used.

However it does provide maintenance cost and breaks from time to time.
Therefore remove it.

CONFIG_NUMA is still supported with a very small backend and only one
node. This way userspace applications which require NUMA interfaces
continue to work.

Note that NODES_SHIFT is set to 1 (= 2 nodes) instead of 0 (= 1 node),
since there is quite a bit of kernel code which assumes that more than
one node is possible if CONFIG_NUMA is enabled.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
12 files changed:
arch/s390/Kconfig
arch/s390/include/asm/numa.h
arch/s390/include/asm/topology.h
arch/s390/kernel/setup.c
arch/s390/kernel/topology.c
arch/s390/numa/Makefile
arch/s390/numa/mode_emu.c [deleted file]
arch/s390/numa/numa.c
arch/s390/numa/numa_mode.h [deleted file]
arch/s390/numa/toptree.c [deleted file]
arch/s390/numa/toptree.h [deleted file]
drivers/s390/char/sclp_cmd.c