android_kernel_google_msm/arch/s390/mm
Carsten Otte 499069e1a4 [S390] take mmap_sem when walking guest page table
gmap_fault needs to walk the guest page table. However, parts of
that may change if some other thread does munmap. In that case
gmap_unmap_notifier will also unmap the corresponding parts from
the guest page table. We need to take mmap_sem in order to serialize
these operations.
do_exception now calls __gmap_fault with mmap_sem held which does
not get exported to modules. The exported function, which is called
from KVM, now takes mmap_sem.

Reported-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2011-10-30 15:16:45 +01:00
..
cmm.c [S390] replace diag10() with diag10_range() function 2011-05-10 17:13:43 +02:00
extmem.c [S390] extmem: get rid of compile warning 2011-05-23 10:24:29 +02:00
fault.c [S390] take mmap_sem when walking guest page table 2011-10-30 15:16:45 +01:00
gup.c [S390] fix get_user_pages_fast 2010-11-10 10:05:53 +01:00
hugetlbpage.c [S390] kvm guest address space mapping 2011-07-24 10:48:21 +02:00
init.c [S390] mm: add ZONE_DMA to 31-bit config again 2011-05-26 09:48:25 +02:00
maccess.c [S390] Add real memory access functions 2011-10-30 15:16:42 +01:00
Makefile [S390] Write protect module text and RO data 2011-03-15 17:08:23 +01:00
mmap.c [S390] Randomize mmap start address 2011-01-12 09:55:25 +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] refactor page table functions for better pgste support 2011-05-23 10:24:31 +02:00
pgtable.c [S390] take mmap_sem when walking guest page table 2011-10-30 15:16:45 +01:00
vmem.c [S390] kdump backend code 2011-10-30 15:16:42 +01:00