diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2021-03-26 16:29:41 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2021-03-29 15:57:04 +0200 |
commit | 70c80103aafdeae99126694bc1cd54de016bc258 (patch) | |
tree | 4ffef8a8f78ddf34e88a9d85435014656f855338 /include/rdma | |
parent | d7a2edb890c0bfe467140c0cd79fe7cf65249376 (diff) | |
download | linux-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 'include/rdma')
0 files changed, 0 insertions, 0 deletions