Re: [patch -rt 1/2] KVM: use simple waitqueue for vcpu->wq

Christoph Hellwig
2015-08-07T16:41:31Z

On Fri, Aug 07, 2015 at 01:14:15PM +0200, Peter Zijlstra wrote:
> On that, we cannot convert completions to swait. Because swait wake_all
> must not happen from IRQ context, and complete_all() typically is used
> from just that.

If swait queues aren't useable from IRQ context they will be fairly
useless. What's the problem with making them irq safe?