android_kernel_sony_sdm845/kernel/locking
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Maria Yu a5946df754 locking/rwsem: for rwsem prio aware enhancement
When add into waiting list will be prio aware,
lower prio value means higher priority task will get lock
before lower priority task.
Only try to preempt waiters with which task priority
which is higher than DEFAULT_PRIO.
To avoid starvation, add count to record how many waiters
preempt to queue in wait list. If preempt count is exceed
MAX_PREEMPT_ALLOWED, use simple FIFO to queue in the wait
list until the wait list is empty.

Change-Id: I4d5fe6a823a16c9762e2e2f416d34bdd701341c4
Signed-off-by: Maria Yu <aiquny@codeaurora.org>
2019-01-08 16:14:39 +08:00
..
lockdep.c locking/lockdep: Do not record IRQ state within lockdep code 2018-08-24 13:12:31 +02:00
lockdep_internals.h lockdep: Limit static allocations if PROVE_LOCKING_SMALL is defined 2016-11-18 11:33:19 -08:00
lockdep_proc.c
lockdep_states.h
locktorture.c locking/locktorture: Fix num reader/writer corner cases 2018-03-22 09:17:58 +01:00
Makefile locking/lglock: Remove lglock implementation 2016-09-22 15:25:56 +02:00
mcs_spinlock.h
mutex-debug.c
mutex-debug.h
mutex.c mutex: Add a delay into the SPIN_ON_OWNER wait loop. 2017-05-23 16:22:46 -07:00
mutex.h
osq_lock.c locking/osq_lock: Fix osq_lock queue corruption 2017-10-12 21:59:10 -07:00
percpu-rwsem.c
qrwlock.c locking/qrwlock: Prevent slowpath writers getting held up by fastpath 2018-06-25 03:25:29 -07:00
qspinlock.c locking/qspinlock: Ensure node->count is updated before initialising node 2018-05-30 07:50:26 +02:00
qspinlock_paravirt.h locking/pv-qspinlock: Use cmpxchg_release() in __pv_queued_spin_unlock() 2016-09-22 15:25:51 +02:00
qspinlock_stat.h
rtmutex-debug.c
rtmutex-debug.h
rtmutex.c rtmutex: Fix PI chain order integrity 2018-03-22 09:17:47 +01:00
rtmutex.h
rtmutex_common.h rtmutex: Fix PI chain order integrity 2018-03-22 09:17:47 +01:00
rwsem-spinlock.c locking/rwsem-spinlock: Fix EINTR branch in __down_write_common() 2017-07-15 12:16:15 +02:00
rwsem-xadd.c locking/rwsem: for rwsem prio aware enhancement 2019-01-08 16:14:39 +08:00
rwsem.c
rwsem.h locking/rwsem: for rwsem prio aware enhancement 2019-01-08 16:14:39 +08:00
semaphore.c
spinlock.c
spinlock_debug.c lib: spinlock: Trigger a watchdog bite on spin_dump for rwlock 2018-04-16 18:08:10 -07:00