locking/rtmutex: Split out the inner parts of 'struct rtmutex'
authorPeter Zijlstra <peterz@infradead.org>
Sun, 15 Aug 2021 21:27:58 +0000 (23:27 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 17 Aug 2021 15:04:01 +0000 (17:04 +0200)
commit830e6acc8a1cafe153a0d88f9b2455965b396131
treec45e285d78476b3b1dcb6b9a70f42a38d820f7fb
parent531ae4b06a737ed5539cd75dc6f6b9a28f900bba
locking/rtmutex: Split out the inner parts of 'struct rtmutex'

RT builds substitutions for rwsem, mutex, spinlock and rwlock around
rtmutexes. Split the inner working out so each lock substitution can use
them with the appropriate lockdep annotations. This avoids having an extra
unused lockdep map in the wrapped rtmutex.

No functional change.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
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/20210815211302.784739994@linutronix.de
include/linux/rtmutex.h
kernel/futex.c
kernel/locking/rtmutex.c
kernel/locking/rtmutex_api.c
kernel/locking/rtmutex_common.h
kernel/rcu/tree_plugin.h