aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2021-03-26 16:29:41 +0100
committerIngo Molnar <mingo@kernel.org>2021-03-29 15:57:04 +0200
commit70c80103aafdeae99126694bc1cd54de016bc258 (patch)
tree4ffef8a8f78ddf34e88a9d85435014656f855338 /lib
parentd7a2edb890c0bfe467140c0cd79fe7cf65249376 (diff)
downloadlinux-70c80103aafdeae99126694bc1cd54de016bc258.tar.gz
locking/rtmutex: Consolidate the fast/slowpath invocation
The indirection via a function pointer (which is at least optimized into a tail call by the compiler) is making the code hard to read. Clean it up and move the futex related trylock functions down to the futex section. Move the wake_q wakeup into rt_mutex_slowunlock(). No point in handing it to the caller. The futex code uses a different function. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@kernel.org> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/r/20210326153944.247927548@linutronix.de
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions