KVM: s390: Make the simple ipte mutex specific to a VM instead of global
authorThomas Huth <thuth@linux.vnet.ibm.com>
Wed, 1 Oct 2014 12:48:42 +0000 (14:48 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 28 Oct 2014 12:08:59 +0000 (13:08 +0100)
commita6b7e459ff6d569227980f711664f927100c73a8
treee453086ed69408f2573ad4470fc7fb5e401a309d
parentcac7f2429872d3733dc3f9915857b1691da2eb2f
KVM: s390: Make the simple ipte mutex specific to a VM instead of global

The ipte-locking should be done for each VM seperately, not globally.
This way we avoid possible congestions when the simple ipte-lock is used
and multiple VMs are running.

Suggested-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/include/asm/kvm_host.h
arch/s390/kvm/gaccess.c
arch/s390/kvm/kvm-s390.c