]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcfbb48c5f927b69823774a5583207a4165a8aab7
tree3cd4d0fe2e68747357d0e16549638cca797a4afd
parentb129e33671aa4d7f922944d0806923decf6f8e5e
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