zhujingpeng
e270773646
ANDROID: vendor_hooks: add hooks in rwsem read trylock
...
When the lock is owned by readers and there is no RWSEM_FLAG_HANDOFF set,
we allow some specific new readers to acquire the lock immediately
in this hook, event if there are some writer tasks in the wait_list.
This features can optimize the priority inversion problem caused by
rwsem and improve system responsiveness and
performance.
Bug: 348699619
Bug: 336506800
Change-Id: I7e8fded73579933d1f61faa9fb6e5f300ffd71bf
Signed-off-by: zhujingpeng <zhujingpeng@vivo.com >
[jstultz: rebased, resolved collision]
Signed-off-by: John Stultz <jstultz@google.com >
2024-06-22 18:46:05 +08:00
..
2024-04-17 08:34:35 +00:00
2024-02-28 18:04:33 +00:00
2022-09-28 09:02:20 +02:00
2024-04-02 19:49:12 +00:00
2024-04-02 19:49:12 +00:00
2023-03-30 12:49:13 +02:00
2024-04-17 08:34:35 +00:00
2023-11-27 16:59:46 +00:00
2022-12-31 13:33:11 +01:00
2024-04-02 19:49:12 +00:00
2023-07-19 16:21:37 +02:00
2023-11-20 11:52:10 +01:00
2024-06-22 18:46:05 +08:00
2024-05-30 19:08:29 +00:00
2024-05-30 15:23:39 +00:00
2023-10-26 18:58:32 +00:00
2024-04-16 15:01:11 +00:00
2024-06-06 15:43:07 +00:00
2024-04-19 12:47:22 +00:00
2024-04-16 15:01:11 +00:00
2023-06-09 13:11:58 +00:00
2022-12-31 13:32:58 +01:00
2024-01-31 16:17:00 -08:00
2022-08-22 18:50:06 -04:00
2022-04-25 14:37:28 +02:00
2023-11-28 17:07:08 +00:00
2024-02-05 20:12:47 +00:00
2022-09-07 11:30:15 -04:00
2023-11-06 14:51:23 +00:00
2022-09-26 19:46:09 -07:00
2022-09-26 10:13:13 -07:00
2023-04-06 12:10:40 +02:00
2023-03-10 09:33:45 +01:00
2022-07-05 13:32:59 -07:00
2024-04-02 19:49:12 +00:00
2022-08-28 14:02:44 -07:00
2024-01-11 22:38:43 +00:00
2024-02-29 21:10:10 +00:00
2023-08-25 18:32:06 +00:00
2022-07-05 13:32:59 -07:00
2023-03-11 13:55:39 +01:00
2024-02-28 11:27:13 +00:00
2023-11-29 20:08:28 +00:00
2024-05-28 14:08:23 +00:00
2022-07-15 18:21:49 +00:00
2023-01-30 11:14:35 +08:00
2022-04-18 08:32:59 +02:00
2022-06-24 09:48:55 +02:00
2023-10-25 12:03:16 +02:00
2023-10-25 12:03:16 +02:00
2022-03-31 10:36:55 +02:00
2023-06-07 14:24:57 +00:00
2023-07-19 16:21:08 +02:00
2023-06-21 16:00:55 +02:00
2022-09-11 21:55:06 -07:00
2023-11-28 17:06:57 +00:00
2023-05-11 23:03:02 +09:00
2023-12-13 18:39:17 +01:00
2022-09-11 21:55:06 -07:00
2024-03-28 00:24:19 +00:00
2022-09-11 21:55:12 -07:00
2024-02-29 21:10:10 +00:00
2022-05-19 19:30:30 +02:00
2022-09-13 10:38:43 -07:00
2023-11-28 17:06:58 +00:00
2023-09-23 11:11:09 +02:00
2023-03-10 09:32:52 +01:00
2022-10-25 14:52:46 +02:00
2023-03-09 23:13:08 +00:00
2022-09-07 21:53:50 +02:00
2023-12-12 18:41:13 +00:00
2023-07-04 08:29:35 +01:00
2023-10-12 12:05:39 +00:00
2022-11-14 09:58:32 +01:00
2023-09-23 11:11:00 +02:00
2023-05-25 15:37:14 -07:00
2022-05-03 14:11:58 -07:00
2024-04-08 17:39:38 +00:00
2023-11-28 17:06:55 +00:00
2022-09-11 21:55:10 -07:00
2024-03-13 16:18:09 +00:00
2022-05-08 01:33:09 -07:00
2022-04-05 08:12:56 +02:00
2022-04-05 09:59:38 +02:00
2022-04-05 09:59:38 +02:00
2022-09-21 00:09:57 +00:00
2022-08-20 15:17:45 -07:00
2023-05-16 14:19:59 +00:00
2022-09-08 16:56:45 -07:00
2022-12-05 12:09:06 -08:00
2022-09-11 21:55:10 -07:00
2022-08-29 12:47:15 +01:00
2023-03-10 09:34:07 +01:00
2022-10-19 13:22:10 +02:00
2022-04-29 14:38:03 -07:00
2022-05-18 18:24:57 -05:00
2023-02-22 12:59:50 +01:00
2022-10-09 16:24:05 -07:00
2023-05-11 05:22:29 +00:00
2022-05-19 23:25:47 -04:00
2022-10-23 12:01:01 -07:00
2023-11-28 17:06:57 +00:00
2023-07-19 16:21:08 +02:00
2023-12-12 18:41:13 +00:00
2024-01-24 17:34:59 +00:00