linux_dsm_epyc7002/arch/s390/mm
Heiko Carstens 35b03aec91 s390/mem_detect: fix memory hole handling
With git commit 996b4a7d "s390/mem_detect: remove artificial kdump
memory types" the memory detection code got simplified.
As a side effect the array that describes memory chunks may now
contain empty (zeroed) entries.
All call sites can handle this except for

drivers/s390/char/zcore.c::zcore_memmap_open

which has a really odd user space interface. The easiest fix is to
change the memory hole handling code, so that no empty entries exist
before the last valid entry is reached.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2013-06-19 15:36:16 +02:00
..
cmm.c s390/cmm: Removed useless label 2013-04-17 14:07:27 +02:00
dump_pagetables.c s390/page table dumper: add support for change-recording override bit 2013-02-28 09:37:06 +01:00
extable.c s390/exceptions: switch to relative exception table entries 2012-09-26 15:45:10 +02:00
extmem.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
fault.c s390/mm: protection exception PSW for aborted transaction 2013-04-17 12:31:31 +02:00
gup.c s390/gup: fix access_ok() usage in __get_user_pages_fast() 2012-11-13 11:02:28 +01:00
hugetlbpage.c mm/hugetlb: add more arch-defined huge_pte functions 2013-04-29 15:54:33 -07:00
init.c s390/memory hotplug: provide memory_block_size_bytes() function 2013-05-02 15:50:27 +02:00
maccess.c s390/kernel: Introduce memcpy_absolute() function 2012-05-30 09:04:49 +02:00
Makefile s390/mem_detect: move memory detection code to mm folder 2013-05-02 15:50:22 +02:00
mem_detect.c s390/mem_detect: fix memory hole handling 2013-06-19 15:36:16 +02:00
mmap.c s390/mm: Fix crst upgrade of mmap with MAP_FIXED 2013-02-14 15:55:22 +01:00
page-states.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
pageattr.c s390/mm: speedup storage key initialization 2013-04-17 14:07:29 +02:00
pgtable.c s390/pgtable: Fix gmap notifier address 2013-05-31 17:23:53 +02:00
vmem.c s390/mem_detect: remove artificial kdump memory types 2013-05-03 14:21:15 +02:00