]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerSasha Levin <sasha.levin@oracle.com>
Sun, 17 May 2015 23:11:49 +0000 (19:11 -0400)
commit7e15bc0e1c8b239a82005a884b1bce9260024ecb
treec2bc455dea5a63b8ac36dbbacba9bb96893f6a9d
parentabd80ecb36d1f41f0498e57251d0c9aa2e3deb83
KVM: s390: no need to hold the kvm->mutex for floating interrupts

[ Upstream commit 69a8d456263849152826542c7cb0a164b90e68a8 ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
arch/s390/kvm/interrupt.c