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

From: Davidlohr Bueso
Date: Tue May 19 2015 - 13:25:18 EST


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

--
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/