KVM: s390: no need to hold the kvm->mutex for floating interrupts
authorChristian Borntraeger <borntraeger@de.ibm.com>
Wed, 17 Dec 2014 09:36:04 +0000 (10:36 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 23 Jan 2015 12:25:37 +0000 (13:25 +0100)
commit69a8d456263849152826542c7cb0a164b90e68a8
tree91df244d7b1e0ccd855f952ca2ea4597b74f8671
parent2444b352c3acf54897b0e2803a7c4e66699f9f43
KVM: s390: no need to hold the kvm->mutex for floating interrupts

The kvm mutex was (probably) used to protect against cpu hotplug.
The current code no longer needs to protect against that, as we only
rely on CPU data structures that are guaranteed to be available
if we can access the CPU. (e.g. vcpu_create will put the cpu
in the array AFTER the cpu is ready).

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
arch/s390/kvm/interrupt.c