Re: [PATCH 0/3] workqueue: Make the workqueue code PREEMPT_RT safe

From: Tejun Heo
Date: Tue May 26 2020 - 15:46:47 EST


Hello,

On Wed, May 13, 2020 at 06:27:29PM +0200, Sebastian Andrzej Siewior wrote:
> The series changes `wq_manager_wait' from waitqueues to simple
> waitqueues and its internal locking (pool::lock and wq_mayday_lock) to
> raw spinlocks so that workqueues can be used on PREEMPT_RT from truly
> atomic context.

No objection from workqueue side but the comment in swait.h doesn't look too
encouraging. Kinda difficult to make a call from my side. Linus, does this
qualify as the RT use case you had on mind?

Thanks.

--
tejun