[PATCH -tip 0/4] rtmutex: Spin on owner

Davidlohr Bueso
2015-05-19T17:25:15Z

Hello,

First three patches are straightforward and found while
going through the code. Patch 4 is the actual meat of the
set, but similar to what we have already in regular mutexes.
While having optimistic spinning in rtmutexes is a desired
feature, I've marked it RFC as I could very well have missed
something inherint in the rt flavor.

Details in the individual patches. Passes pi tests from
Darren's futextest suite as well as all weekend running
pi_stress from rt-tests on a 60 core box.

Thanks!

Davidlohr Bueso (4):
locking/rtmutex: Implement lockless top-waiter wakeup
locking/rtmutex: Use cmp-cmpxchg
locking/rtmutex: Update stale plist comments
locking/rtmutex: Support spin on owner (osq)

include/linux/rtmutex.h | 4 ++
kernel/Kconfig.locks | 4 ++
kernel/locking/rtmutex.c | 175 +++++++++++++++++++++++++++++++++++++++++------
3 files changed, 162 insertions(+), 21 deletions(-)

--
2.1.4