linux/arch/s390/mm
Carsten Otte a9162f238a [S390] fix possible deadlock in gmap_map_segment
Fix possible deadlock reported by lockdep:
qemu-system-s39/2963 is trying to acquire lock:
(&mm->mmap_sem){++++++}, at: gmap_alloc_table+0x9c/0x120
but task is already holding lock:
(&mm->mmap_sem){++++++}, at: gmap_map_segment+0xa6/0x27c

Actually gmap_alloc_table is the only called in gmap_map_segment with
mmap_sem held, thus it's safe to simply remove the inner lock.

Signed-off-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2011-10-30 15:16:44 +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] cleanup psw related bits and pieces 2011-10-30 15:16:43 +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] fix possible deadlock in gmap_map_segment 2011-10-30 15:16:44 +01:00
vmem.c [S390] kdump backend code 2011-10-30 15:16:42 +01:00