Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 785dbef4 authored by Christian Borntraeger's avatar Christian Borntraeger
Browse files

KVM: s390: optimize round trip time in request handling



The fast path for a sie exit is that no kvm reqest is pending.
Make an early check to skip all single bit checks.

Reviewed-by: default avatarDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: default avatarChristian Borntraeger <borntraeger@de.ibm.com>
parent b938eace
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1720,6 +1720,8 @@ static bool ibs_enabled(struct kvm_vcpu *vcpu)

static int kvm_s390_handle_requests(struct kvm_vcpu *vcpu)
{
	if (!vcpu->requests)
		return 0;
retry:
	s390_vcpu_unblock(vcpu);
	/*