Re: write_lock_irq(&tasklist_lock)

From: Linus Torvalds
Date: Wed May 23 2018 - 11:33:32 EST


On Wed, May 23, 2018 at 8:35 AM Will Deacon <will.deacon@xxxxxxx> wrote:

> In other words, qrwlock requires consistent locking order wrt spinlocks.

I *thought* lockdep already tracked and detected this. Or is that only with
with the sleeping versions?

But yes, that's equivalent to the irq-unfairness thing we have a special
case for.

Linus