locking/rtmutex: Provide the spin/rwlock core lock function
authorThomas Gleixner <tglx@linutronix.de>
Sun, 15 Aug 2021 21:28:25 +0000 (23:28 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 17 Aug 2021 15:45:37 +0000 (17:45 +0200)
commit1c143c4b65da09081d644110e619decc49c9dee4
tree4183119f2daea02c3d6617a996603a0af020cd4e
parent342a93247e0837101f27bbcca26f402902df98dc
locking/rtmutex: Provide the spin/rwlock core lock function

A simplified version of the rtmutex slowlock function, which neither handles
signals nor timeouts, and is careful about preserving the state of the
blocked task across the lock operation.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20210815211303.770228446@linutronix.de
kernel/locking/rtmutex.c
kernel/locking/rtmutex_common.h