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

Thomas Gleixner
2015-06-09T12:54:07Z

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