Thomas Gleixner
51711e825a
locking/rtmutex: Prevent lockdep false positive with PI futexes
...
On PREEMPT_RT the futex hashbucket spinlock becomes 'sleeping' and rtmutex
based. That causes a lockdep false positive because some of the futex
functions invoke spin_unlock(&hb->lock) with the wait_lock of the rtmutex
associated to the pi_futex held. spin_unlock() in turn takes wait_lock of
the rtmutex on which the spinlock is based which makes lockdep notice a
lock recursion.
Give the futex/rtmutex wait_lock a separate key.
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/20210815211305.750701219@linutronix.de
2021-08-17 19:06:02 +02:00
..
2021-08-10 13:09:28 +02:00
2021-07-27 13:12:20 -10:00
2021-05-07 00:26:34 -07:00
2021-07-12 11:03:35 -05:00
2021-07-16 11:30:26 +02:00
2021-05-31 10:14:49 +02:00
2021-07-16 18:46:38 +02:00
2021-06-22 11:07:18 -07:00
2021-08-10 15:55:19 +02:00
2021-07-04 12:29:16 -07:00
2021-04-27 18:14:38 -07:00
2021-08-17 19:06:02 +02:00
2021-07-08 11:48:21 -07:00
2021-06-29 12:07:18 -07:00
2021-08-17 17:04:01 +02:00
2021-08-17 16:57:17 +02:00
2021-07-27 20:57:44 +02:00
2021-08-10 10:10:10 +02:00
2021-05-02 00:43:35 +09:00
2021-05-07 00:26:33 -07:00
2021-06-08 22:18:35 -04:00
2021-06-10 20:59:05 -04:00
2021-06-10 20:59:05 -04:00
2021-04-08 16:04:20 -07:00
2021-06-29 12:23:02 -07:00
2021-07-08 11:48:22 -07:00
2021-06-28 20:39:26 -07:00
2021-05-12 11:43:25 +02:00
2021-06-28 20:39:26 -07:00
2021-06-29 17:29:11 -07:00
2021-06-18 11:43:08 +02:00
2021-08-17 19:05:59 +02:00
2021-05-27 04:01:50 +09:00
2021-07-02 12:08:10 -07:00
2021-06-10 10:00:08 +02:00
2021-07-05 10:46:20 +02:00
2021-07-08 11:48:22 -07:00
2021-08-17 17:50:51 +02:00
2021-06-28 22:43:05 +02:00
2021-07-01 11:06:04 -07:00
2021-05-07 00:26:32 -07:00
2021-05-07 00:26:33 -07:00
2021-07-11 11:06:09 -07:00
2021-06-29 17:29:11 -07:00
2021-05-02 00:43:35 +09:00
2021-07-08 11:48:22 -07:00
2021-07-01 11:06:04 -07:00
2021-04-10 13:35:54 +02:00
2021-06-18 11:43:09 +02:00
2021-06-21 13:08:36 +01:00
2021-05-14 19:41:32 -07:00
2021-04-14 18:04:09 +02:00
2021-07-06 12:37:55 -07:00
2021-08-11 11:48:28 -07:00
2021-07-08 11:43:24 -07:00
2021-05-06 15:33:49 +02:00
2021-07-25 11:06:37 -07:00
2021-06-18 11:43:07 +02:00
2021-07-05 10:46:33 +02:00
2021-07-08 11:48:21 -07:00
2021-06-28 20:39:26 -07:00
2021-06-23 16:41:24 -06:00
2021-07-02 12:08:10 -07:00
2021-04-30 11:20:42 -07:00
2021-08-06 10:54:41 -04:00
2021-08-09 15:45:02 -05:00
2021-05-07 00:26:34 -07:00
2021-05-09 13:07:03 -07:00
2021-06-28 20:39:26 -07:00
2021-04-30 14:14:02 -05:00
2021-07-03 11:41:14 -07:00
2021-06-29 10:53:46 -07:00
2021-07-21 06:42:31 -10:00