android_kernel_msm-6.1_noth.../kernel/locking
xieliujie 260bfad693 ANDROID: vendor_hook: Add hooks to support reader optimistic spin in rwsem
Since upstream commit 617f3ef951 ("locking/rwsem: Remove
reader optimistic spinning"), vendors have seen increased
contention and blocking on rwsems.

There are attempts to actively fix this upstream:
  https://lore.kernel.org/lkml/20240406081126.8030-1-bongkyu7.kim@samsung.com/

But in the meantime, provide vendorhooks so that vendors can
implement their own optimistic spin routine. In doing so,
vendors see improvements in cold launch times on important apps.

Bug: 331742151
Change-Id: I7466413de9ee1293e86f73880931235d7a9142ac
Signed-off-by: xieliujie <xieliujie@oppo.com>
[jstultz: Rewrote commit message]
Signed-off-by: John Stultz <jstultz@google.com>
2024-04-24 10:30:39 +08:00
..
irqflag-debug.c
lock_events.c
lock_events.h
lock_events_list.h
lockdep.c lockdep: Fix block chain corruption 2023-12-03 07:32:09 +01:00
lockdep_internals.h
lockdep_proc.c
lockdep_states.h
locktorture.c
Makefile
mcs_spinlock.h
mutex-debug.c
mutex.c ANDROID: vendor_hook: fix the error record position of mutex 2023-08-11 16:57:28 +00:00
mutex.h
osq_lock.c ANDROID: vendor_hook: Add hooks to support reader optimistic spin in rwsem 2024-04-24 10:30:39 +08:00
percpu-rwsem.c ANDROID: vendor_hooks: Add hooks for oem percpu-rwsem optimaton 2023-09-22 17:33:39 +00:00
qrwlock.c
qspinlock.c
qspinlock_paravirt.h
qspinlock_stat.h
rtmutex.c ANDROID: vendor_hooks: Add hooks for rt_mutex steal 2023-12-25 15:22:46 +08:00
rtmutex_api.c Revert "locking/rtmutex: Fix task->pi_waiters integrity" 2023-09-12 14:37:42 +00:00
rtmutex_common.h Revert "locking/rtmutex: Fix task->pi_waiters integrity" 2023-09-12 14:37:42 +00:00
rwbase_rt.c
rwsem.c ANDROID: vendor_hook: Add hooks to support reader optimistic spin in rwsem 2024-04-24 10:30:39 +08:00
semaphore.c
spinlock.c
spinlock_debug.c
spinlock_rt.c
test-ww_mutex.c locking/ww_mutex/test: Fix potential workqueue corruption 2023-11-28 17:06:54 +00:00
ww_mutex.h Revert "locking/rtmutex: Fix task->pi_waiters integrity" 2023-09-12 14:37:42 +00:00
ww_rt_mutex.c