locking/mutex: Make mutex::wait_lock raw
authorThomas Gleixner <tglx@linutronix.de>
Sun, 15 Aug 2021 21:28:36 +0000 (23:28 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 17 Aug 2021 17:03:33 +0000 (19:03 +0200)
commitebf4c55c1ddbabaea120fe8d48ce25b4f5da93a1
tree3cd4d0fe2e68747357d0e16549638cca797a4afd
parent4f1893ec8cfb4b17e3b89158a1e3e550a9a9bf3c
locking/mutex: Make mutex::wait_lock raw

The wait_lock of mutex is really a low level lock. Convert it to a
raw_spinlock like the wait_lock of rtmutex.

[ mingo: backmerged the test_lockup.c build fix by bigeasy. ]

Co-developed-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
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/20210815211304.166863404@linutronix.de
include/linux/mutex.h
kernel/locking/mutex.c
lib/test_lockup.c