Skip to content

Commit fa49066

Browse files
davidhildenbrandhcahca
authored andcommitted
s390/mm: don't set ARCH_KEEP_MEMBLOCK
Commit 50be634 ("s390/mm: Convert bootmem to memblock") mentions "The original bootmem allocator is getting replaced by memblock. To cover the needs of the s390 kdump implementation the physical memory list is used." As we can now reference "physmem" managed in the memblock allocator after init even without ARCH_KEEP_MEMBLOCK, and s390x does no longer need other memblock metadata after boot (esp., the zcore memmap device that used it got removed), we can stop setting ARCH_KEEP_MEMBLOCK. With this change, we no longer create memblocks for standby/hotplugged memory (added via add_memory()) and free up memblock metadata (except physmem) after boot. Cc: Vasily Gorbik <[email protected]> Cc: Christian Borntraeger <[email protected]> Cc: Philipp Rudo <[email protected]> Cc: Mike Rapoport <[email protected]> Cc: Andrew Morton <[email protected]> Signed-off-by: David Hildenbrand <[email protected]> Message-Id: <[email protected]> Signed-off-by: Heiko Carstens <[email protected]>
1 parent 7764990 commit fa49066

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/s390/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ config S390
102102
select ARCH_INLINE_WRITE_UNLOCK_BH
103103
select ARCH_INLINE_WRITE_UNLOCK_IRQ
104104
select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
105-
select ARCH_KEEP_MEMBLOCK
106105
select ARCH_STACKWALK
107106
select ARCH_SUPPORTS_ATOMIC_RMW
108107
select ARCH_SUPPORTS_NUMA_BALANCING

0 commit comments

Comments
 (0)