Re: write_lock_irq(&tasklist_lock)

From: Linus Torvalds
Date: Wed May 23 2018 - 10:31:58 EST


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

> Please use a newer kernel. We've addressed this in mainline by moving
> arm64 over to the qrwlock implementation which (after some other changes)
> guarantees forward progress for well-behaved readers and writers.

Oh, I didn't even realize that this wasn't x86, and that there was still
the very unfair rwlock issue on 4.14 on arm.

Yeah, the queuing rwlocks shouldn't show the really pathological problems
we used to have long ago.

Linus