Re: [PATCH v2] workqueue: Remove the warning in wq_worker_sleeping()

From: Daniel Jordan
Date: Fri Apr 03 2020 - 15:05:54 EST


On Fri, Apr 03, 2020 at 08:25:02PM +0200, Sebastian Andrzej Siewior wrote:
> On 2020-04-03 13:45:00 [-0400], Daniel Jordan wrote:
> > Why would preemption prevent it? Interrupts are still enabled.
> >
> > What am I missing? :-)
>
> Preemption is disabled which means no other task is allowed to be
> scheduled.

Aha, "preempt_count() > 1" in kvm_async_pf_task_wait().

Thanks.