Files
linux/kernel
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
2022-09-28 09:02:20 +02:00
2023-11-27 16:59:46 +00:00
2022-12-31 13:33:11 +01:00
2024-04-16 15:01:11 +00:00
2024-04-16 15:01:11 +00:00
2022-09-26 10:13:13 -07:00
2023-11-28 17:06:57 +00:00
2023-12-12 18:41:13 +00:00
2023-12-12 18:41:13 +00:00