Re: [RFC] workqueue: Fix irq inversion deadlock in manage_workers()

From: Tejun Heo
Date: Mon Oct 09 2017 - 11:30:07 EST


Hello,

On Mon, Oct 09, 2017 at 05:24:49PM +0200, Peter Zijlstra wrote:
> So I think we did something similar to the rt_mutex in:
>
> b4abf91047cf ("rtmutex: Make wait_lock irq safe")
>
> And I would not be entirely against doing the same for our normal mutex,
> but I've not really had time to read/think through this thread.

We may want to do that if there are other more valid cases but this
workqueue one shouldn't be the reason. It's something which shouldn't
have been a mutex from the get-go.

Thanks.

--
tejun