Thomas Gleixner
a0aa7b8a6e
rtmutex: Handle non enqueued waiters gracefully
...
Yimin debugged that in case of a PI wakeup in progress when
rt_mutex_start_proxy_lock() calls task_blocks_on_rt_mutex() the latter
returns -EAGAIN and in consequence the remove_waiter() call runs into
a BUG_ON() because there is nothing to remove.
Guard it with rt_mutex_has_waiters(). This is a quick fix which is
easy to backport. The proper fix is to have a central check in
remove_waiter() so we can call it unconditionally.
Reported-and-debugged-by: Yimin Deng <yimin11.deng@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: stable-rt@vger.kernel.org
Signed-off-by: azrim <mirzaspc@gmail.com>
2022-06-30 14:12:21 +00:00
..
2022-06-30 14:12:20 +00:00
2022-06-14 17:22:06 +00:00
2019-04-03 06:59:52 -07:00
2021-03-03 18:58:56 +01:00
2022-06-10 15:30:07 +07:00
2020-09-24 12:45:16 +02:00
2022-06-30 14:03:54 +00:00
2022-04-06 13:18:17 +07:00
2022-06-30 14:12:21 +00:00
2022-06-30 14:10:20 +00:00
2022-06-30 14:12:20 +00:00
2022-06-30 14:12:20 +00:00
2022-06-30 14:12:20 +00:00
2022-06-30 14:12:20 +00:00
2022-06-30 14:12:20 +00:00
2019-06-12 12:34:50 +00:00
2022-02-23 11:57:33 +01:00
2020-10-01 13:12:33 +02:00
2022-02-08 18:16:28 +01:00
2020-06-20 10:25:10 +02:00
2020-06-20 10:25:10 +02:00
2019-12-01 09:14:03 +01:00
2022-06-10 15:54:19 +07:00
2020-04-30 10:08:09 -07:00
2020-06-20 10:24:58 +02:00
2020-09-06 01:12:33 +05:30
2022-06-30 14:03:54 +00:00
2020-01-09 10:17:54 +01:00
2019-03-21 16:19:55 -07:00
2022-06-10 15:54:19 +07:00
2022-06-10 15:41:45 +07:00
2022-06-10 16:45:21 +07:00
2022-06-10 17:01:02 +07:00
2020-07-12 21:32:07 -07:00
2019-06-25 03:05:18 -07:00
2022-06-10 15:41:47 +07:00
2020-01-29 17:06:43 -08:00
2019-01-02 17:05:33 +08:00
2020-01-13 19:40:11 +00:00
2019-11-24 08:23:15 +01:00
2021-05-22 10:57:39 +02:00
2019-06-12 12:35:03 +00:00
2020-04-24 08:00:44 +02:00
2022-04-06 13:18:17 +07:00
2022-03-16 00:46:24 +01:00
2022-06-30 14:12:20 +00:00
2022-06-10 15:54:17 +07:00
2022-04-06 13:18:17 +07:00
2020-04-02 16:34:20 +02:00
2020-05-27 16:43:05 +02:00
2019-10-25 05:30:35 -07:00
2021-09-22 11:45:32 +02:00
2019-08-12 13:29:46 -04:00
2021-09-26 13:37:28 +02:00
2022-06-14 16:53:43 +02:00
2020-11-18 18:28:02 +01:00
2020-08-26 10:29:54 +02:00
2018-06-29 09:25:17 -07:00
2020-06-02 16:13:43 +00:00
2022-02-16 12:44:52 +01:00
2022-05-03 06:17:11 +07:00
2022-06-10 16:45:20 +07:00
2021-02-07 14:47:41 +01:00
2022-06-30 14:12:21 +00:00
2018-09-10 09:32:36 -07:00
2019-08-12 13:29:46 -04:00
2022-03-16 00:46:24 +01:00
2019-02-05 17:36:19 -07:00
2022-06-19 09:30:26 +00:00
2020-06-17 12:53:11 +05:30
2022-04-06 13:18:17 +07:00
2022-04-06 13:18:17 +07:00
2022-02-23 11:57:34 +01:00
2020-10-14 09:51:10 +02:00
2021-05-22 10:57:35 +02:00
2022-04-06 13:18:49 +07:00
2018-09-09 19:56:00 +02:00
2018-09-05 09:26:42 +02:00
2020-08-05 11:41:56 +05:30
2019-03-21 16:19:56 -07:00
2022-04-06 13:20:11 +07:00