projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e85ad38
)
KVM: PPC: Book3S: PR: Only do resched check once per exit
author
Alexander Graf
<agraf@suse.de>
Sun, 12 Aug 2012 09:27:49 +0000
(11:27 +0200)
committer
Alexander Graf
<agraf@suse.de>
Fri, 5 Oct 2012 21:38:43 +0000
(23:38 +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
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/kvm/book3s_pr.c
b/arch/powerpc/kvm/book3s_pr.c
index 10f8217b8c38ca9ee55d4d0ff448282c81eb6fbe..2c268a15b20fa028c8f64b865cf4b424290bf69a 100644
(file)
--- a/
arch/powerpc/kvm/book3s_pr.c
+++ b/
arch/powerpc/kvm/book3s_pr.c
@@
-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:
{