Re: [PATCH -rfc 4/4] locking/rtmutex: Support spin on owner (osq)

From: Peter Zijlstra
Date: Tue Jun 09 2015 - 07:21:58 EST


On Tue, Jun 09, 2015 at 11:29:59AM +0200, Thomas Gleixner wrote:
>
> If you look at the RT code, then you'll notice that in the slow lock
> path we queue the incoming waiter (including the PI dance) and then
> spin only if the waiter is the top waiter on the lock.

On a related note; does the RT code still add lock stealing to rtmutex?

We allow higher prio lock stealing, but I seem to remember a longish
debate if we should allow equal prio lock stealing.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/