]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
s390/mm: prevent memory offline for memory blocks with cma areas
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 7 Aug 2017 13:16:15 +0000 (15:16 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 9 Aug 2017 13:09:28 +0000 (09:09 -0400)
commit34ad7cdc1bb2ea65934d235be89fabf1bb40d824
treee6d0f2c336fb5fb0035bd07b916915a0a18410f7
parent16f48641716000ae674159a021c93632d172f466
s390/mm: prevent memory offline for memory blocks with cma areas

Memory blocks that contain areas for the contiguous memory allocator
(cma) should not be allowed to go offline. Otherwise this would render
cma completely useless.
This might make sense on other architectures where memory might be
taken offline due to hardware errors, but not on architectures which
support memory hotplug for load balancing.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/mm/init.c