linux/arch/s390
Christian Borntraeger a2fd64d6aa [S390] vmemmap: allocate struct pages before 1:1 mapping
We have seen an oops in an OOM situation, where show_mem tried to
access the struct page of a dcss segment. The vmemmap code has
already created the 1:1 mapping but failed allocating the struct
pages. In the OOM case, show_mem now walks the memory. It uses
pfn_valid to detect if it may access the struct page. In the case
described above, the mapping was established and pfn_valid returned
true. As the struct pages were not allocated, the kernel oopsed.

We have to ensure that we have created the struct pages, before we
add a mapping pointing to the pages.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2008-01-26 14:11:23 +01:00
..
appldata
boot
crypto [S390] arch/s390: Add missing "space" 2008-01-26 14:11:18 +01:00
hypfs Kobject: convert arch/* from kobject_unregister() to kobject_put() 2008-01-24 20:40:39 -08:00
kernel [S390] Initialize sclp_ipl_info 2008-01-26 14:11:22 +01:00
lib [S390] Remove owner_pc member from raw_spinlock_t. 2008-01-26 14:11:14 +01:00
math-emu
mm [S390] vmemmap: allocate struct pages before 1:1 mapping 2008-01-26 14:11:23 +01:00
oprofile
defconfig
Kconfig [S390] Get rid of HOLES_IN_ZONE requirement. 2008-01-26 14:11:13 +01:00
Kconfig.debug
Makefile