]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
KVM: PPC: Book3S: PR: Only do resched check once per exit
authorAlexander Graf <agraf@suse.de>
Sun, 12 Aug 2012 09:27:49 +0000 (11:27 +0200)
committerAlexander Graf <agraf@suse.de>
Fri, 14 Sep 2012 14:26:04 +0000 (16:26 +0200)
Now that we use our generic exit helper, we can safely drop our previous
kvm_resched that we used to trigger at the beginning of the exit handler
function.

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/book3s_pr.c

index 10f8217b8c38ca9ee55d4d0ff448282c81eb6fbe..2c268a15b20fa028c8f64b865cf4b424290bf69a 100644 (file)
@@ -602,7 +602,7 @@ int kvmppc_handle_exit(struct kvm_run *run, struct kvm_vcpu *vcpu,
 
        trace_kvm_exit(exit_nr, vcpu);
        preempt_enable();
-       kvm_resched(vcpu);
+
        switch (exit_nr) {
        case BOOK3S_INTERRUPT_INST_STORAGE:
        {