summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/head64.S
diff options
context:
space:
mode:
authorMichael Holzheu <holzheu@linux.vnet.ibm.com>2014-01-30 16:14:02 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2014-02-04 15:39:51 +0100
commitd7736ff5be31edaa4fe5ab62810c64529a24b149 (patch)
tree11988899cda4e5875343f750259442d479cca6f2 /arch/s390/kernel/head64.S
parentb7c5b1aa2836c933ab03f90391619ebdc9112e46 (diff)
downloadblackbird-op-linux-d7736ff5be31edaa4fe5ab62810c64529a24b149.tar.gz
blackbird-op-linux-d7736ff5be31edaa4fe5ab62810c64529a24b149.zip
s390/dump: Fix dump memory detection
Dumps created by kdump or zfcpdump can contain invalid memory holes when dumping z/VM systems that have memory pressure. For example: # zgetdump -i /proc/vmcore. Memory map: 0000000000000000 - 0000000000bfffff (12 MB) 0000000000e00000 - 00000000014fffff (7 MB) 000000000bd00000 - 00000000f3bfffff (3711 MB) The memory detection function find_memory_chunks() issues tprot to find valid memory chunks. In case of CMM it can happen that pages are marked as unstable via set_page_unstable() in arch_free_page(). If z/VM has released that pages, tprot returns -EFAULT and indicates a memory hole. So fix this and switch off CMM in case of kdump or zfcpdump. Cc: <stable@vger.kernel.org> Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/head64.S')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud