]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit87afb494a108595c58ce3c71ff452664c630ed2e
tree91df244d7b1e0ccd855f952ca2ea4597b74f8671
parentaff7f63dc3ab3f1dfd14e82fda193d19952493b4
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