]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3dace500aa6bdc32575f7a6c8bc81b4e36df1860
tree4183119f2daea02c3d6617a996603a0af020cd4e
parent46dadc71a542e507a6c8bb21ad256589c22e2d70
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