summaryrefslogtreecommitdiff
path: root/arch/s390/kvm/kvm-s390.c
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2011-11-17 11:00:43 +0100
committerAvi Kivity <avi@redhat.com>2011-11-17 16:25:48 +0200
commit1eddb85f889a5a9fe59ec184e06844716a00aded (patch)
treec789c7cd507f3e5fa5150dc8f6e44efc1e2ab866 /arch/s390/kvm/kvm-s390.c
parentbd59d3a4444e5f941c863db1a7715edf7289e29a (diff)
downloadlinux-3.10-1eddb85f889a5a9fe59ec184e06844716a00aded.tar.gz
linux-3.10-1eddb85f889a5a9fe59ec184e06844716a00aded.tar.bz2
linux-3.10-1eddb85f889a5a9fe59ec184e06844716a00aded.zip
KVM: s390: Fix tprot locking
There is a potential host deadlock in the tprot intercept handling. We must not hold the mmap semaphore while resolving the guest address. If userspace is remapping, then the memory detection in the guest is broken anyway so we can safely separate the address translation from walking the vmas. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Carsten Otte <cotte@de.ibm.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/s390/kvm/kvm-s390.c')
0 files changed, 0 insertions, 0 deletions