locking/rtmutex: Extend the rtmutex core to support ww_mutex
authorPeter Zijlstra <peterz@infradead.org>
Sun, 15 Aug 2021 21:28:58 +0000 (23:28 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 17 Aug 2021 17:05:23 +0000 (19:05 +0200)
commitadd461325ec5bc39aa619a1bfcde7245e5f31ac7
tree37505374052314ee15c464d11ebbcdb7b612442d
parent2408f7a3782a6bfa69a573f5408b3a9666db78ca
locking/rtmutex: Extend the rtmutex core to support ww_mutex

Add a ww acquire context pointer to the waiter and various functions and
add the ww_mutex related invocations to the proper spots in the locking
code, similar to the mutex based variant.

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/20210815211304.966139174@linutronix.de
kernel/locking/rtmutex.c
kernel/locking/rtmutex_api.c
kernel/locking/rtmutex_common.h
kernel/locking/rwsem.c