[PATCH RFC 0/2] s390/mm: don't set ARCH_KEEP_MEMBLOCK

David Hildenbrand
2020-04-17T15:02:14Z

Looking into why we still create memblocks for hotplugged memory (via
add_memory()), I discovered that we might not need ARCH_KEEP_MEMBLOCK on
s390x after all.

After [1] we will no longer create memblocks for hotplugged memory in
case of !CONFIG_ARCH_KEEP_MEMBLOCK. With this series, the same will apply
to standby memory on s390x, added via add_memory().

[1] https://lkml.kernel.org/r/20200416104707.20219-1-david@redhat.com

David Hildenbrand (2):
s390/zcore: traverse resources instead of memblocks
s390/mm: don't set ARCH_KEEP_MEMBLOCK

arch/s390/Kconfig | 1 -
drivers/s390/char/zcore.c | 61 ++++++++++++++++++++++++++++++---------
2 files changed, 48 insertions(+), 14 deletions(-)

--
2.25.1