Re: [PATCH v3 2/4] KVM: use simple waitqueue for vcpu->wq

From: Paul Mackerras
Date: Wed Oct 21 2015 - 05:24:25 EST


On Tue, Oct 20, 2015 at 04:00:31PM +0200, Peter Zijlstra wrote:
>
> Should we not take this opportunity to get rid of these open-coded wait
> loops?
>
>
> Does this work?

No, on Book3S HV (POWER8) the VM hangs immediately after the kernel
brings up all the secondary vCPUs, and is then unkillable. I'm not
sure what's wrong, although I wonder why you have TASK_IDLE rather
than TASK_INTERRUPTIBLE in the ___wait_event call.

Paul.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/