android_kernel_xiaomi_sm8350/arch/s390
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
..
appldata [S390] mm: add ZONE_DMA to 31-bit config again 2011-05-26 09:48:25 +02:00
boot [S390] fix s390 assembler code alignments 2011-07-24 10:48:21 +02:00
crypto crypto: s390 - support hardware accelerated SHA-224 2011-07-04 20:06:01 +08:00
hypfs s390: Convert vmalloc/memset to vzalloc 2011-09-15 13:55:02 +02:00
include/asm [S390] chsc_sch: add support for irq statistics 2011-10-30 15:16:44 +01:00
kernel [S390] load user asce on sie_fault 2011-10-30 15:16:44 +01:00
kvm [S390] kvm: extension capability for new address space layout 2011-09-20 17:07:34 +02:00
lib [S390] cleanup psw related bits and pieces 2011-10-30 15:16:43 +01:00
math-emu s390: change to new flag variable 2011-03-17 14:02:57 +01:00
mm [S390] fix possible deadlock in gmap_map_segment 2011-10-30 15:16:44 +01:00
oprofile Merge branch 'master' into for-next 2011-07-11 14:15:55 +02:00
defconfig [S390] defconfig: switch on CONFIG_DEVTMPFS 2011-10-30 15:16:42 +01:00
Kbuild [S390] standardize Kbuild rules 2010-10-25 16:10:14 +02:00
Kconfig [S390] kdump backend code 2011-10-30 15:16:42 +01:00
Kconfig.debug [S390] Write protect module text and RO data 2011-03-15 17:08:23 +01:00
Makefile [S390] remove redundant stack check option 2011-03-15 17:08:22 +01:00