projects
/
platform
/
kernel
/
linux-starfive.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
|
history
diff --git
a/virt/kvm/kvm_main.c
b/virt/kvm/kvm_main.c
index
7495ce3
..
22b520b
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);