Re: [PATCH] locking/rwsem: Make owner store task pointer of last owning reader

From: Davidlohr Bueso
Date: Tue Sep 11 2018 - 15:21:34 EST


On Mon, 10 Sep 2018, Peter Zijlstra wrote:

[ RT has something along those lines, and I have half a patch that
starts doing that too, but I never found enough time to really work on
it :-( ]

But don't rt rwsems act pretty much like a regular mutex in that it only
allows readers to nest, not share the lock because of priority inversion
scenarios.

Also, wrt rtmutex, will that top-spinner thing ever make it in?

Thanks,
Davidlohr