Re: [PATCH -rfc 4/4] locking/rtmutex: Support spin on owner (osq)
From: Thomas Gleixner
Date: Tue Jun 09 2015 - 08:54:11 EST
On Tue, 9 Jun 2015, Peter Zijlstra wrote:
> 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?
No.
> We allow higher prio lock stealing, but I seem to remember a longish
> debate if we should allow equal prio lock stealing.
Right. We never finished that one:)
Thanks,
tglx
--
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/