Skip to content

Commit

Permalink
KVM: PPC: Book3S: PR: Only do resched check once per exit
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
agraf committed Oct 5, 2012
1 parent e85ad38 commit c63ddcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/kvm/book3s_pr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
{
Expand Down

0 comments on commit c63ddcb

Please sign in to comment.