locking/spinlock: Provide RT specific spinlock_t
authorThomas Gleixner <tglx@linutronix.de>
Sun, 15 Aug 2021 21:28:22 +0000 (23:28 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 17 Aug 2021 15:41:24 +0000 (17:41 +0200)
commit051790eecc03aff6978763791d38c1daea94c2f8
tree4448509f285c4fd2589dc9f5b5d9b160a191490f
parente4e17af3b7f8841279b5a429de14907e26845c39
locking/spinlock: Provide RT specific spinlock_t

RT replaces spinlocks with a simple wrapper around an rtmutex, which turns
spinlocks on RT into 'sleeping' spinlocks. The actual implementation of the
spinlock API differs from a regular rtmutex, as it does neither handle
timeouts nor signals and it is state preserving 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.654230709@linutronix.de
include/linux/spinlock_types.h