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:
58988b0
)
KVM: Don't wrap schedule() with vcpu_put()/vcpu_load()
author
Avi Kivity
<avi@redhat.com>
Sun, 23 Aug 2009 14:46:21 +0000
(17:46 +0300)
committer
Avi Kivity
<avi@redhat.com>
Thu, 3 Dec 2009 07:32:05 +0000
(09:32 +0200)
Preemption notifiers will do that for us automatically.
Signed-off-by: Avi Kivity <avi@redhat.com>
virt/kvm/kvm_main.c
patch
|
blob
|
blame
|
history
diff --git
a/virt/kvm/kvm_main.c
b/virt/kvm/kvm_main.c
index 7495ce3473448cd45ee1dba9e0ae441c83245ca4..22b520b54411f29ef8fd7fa6656e5e5f18a55b51 100644
(file)
--- a/
virt/kvm/kvm_main.c
+++ b/
virt/kvm/kvm_main.c
@@
-1689,9
+1689,7
@@
void kvm_vcpu_block(struct kvm_vcpu *vcpu)
if (signal_pending(current))
break;
- vcpu_put(vcpu);
schedule();
- vcpu_load(vcpu);
}
finish_wait(&vcpu->wq, &wait);