Messages in this thread | | | Date | Wed, 21 Oct 2015 20:10:26 +1100 | From | Paul Mackerras <> | Subject | Re: [PATCH v3 2/4] KVM: use simple waitqueue for vcpu->wq |
| |
On Tue, Oct 20, 2015 at 04:00:31PM +0200, Peter Zijlstra wrote:
> @@ -2018,17 +2017,9 @@ void kvm_vcpu_block(struct kvm_vcpu *vcpu) > } while (single_task_running() && ktime_before(cur, stop)); > } > > - for (;;) { > - prepare_to_wait(&vcpu->wq, &wait, TASK_INTERRUPTIBLE); > + ___wait_event(vcpu->wq, kvm_cpu_check_block(vcpu) < 0, TASK_IDLE, 0, 0,
Needs to be kvm_vcpu_check_block not kvm_cpu_check_block (note the extra 'v').
Paul.
| |