android_kernel_sony_sdm845/kernel/locking
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Waiman Long 60894cb409 locking/spinlock/debug: Remove spinlock lockup detection code
commit bc88c10d7e6900916f5e1ba3829d66a9de92b633 upstream.

The current spinlock lockup detection code can sometimes produce false
positives because of the unfairness of the locking algorithm itself.

So the lockup detection code is now removed. Instead, we are relying
on the NMI watchdog to detect potential lockup. We won't have lockup
detection if the watchdog isn't running.

The commented-out read-write lock lockup detection code are also
removed.

Change-Id: I617c2aed4d15b8a7348897c0447b04dc79c57891
Signed-off-by: Waiman Long <longman@redhat.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Sasha Levin <sasha.levin@oracle.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1486583208-11038-1-git-send-email-longman@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Git-commit: bc88c10d7e6900916f5e1ba3829d66a9de92b633
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux
[tengfeif@codeaurora.org: resolve merge conflicts.]
Signed-off-by: Tengfei Fan <tengfeif@codeaurora.org>
2019-04-04 15:15:11 +08:00
..
lockdep.c locking/lockdep: Fix debug_locks off performance problem 2018-11-13 11:16:48 -08: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 2018-09-19 22:47:11 +02:00
percpu-rwsem.c locking/percpu-rwsem: Optimize readers and reduce global impact 2016-08-10 14:34:01 +02:00
qrwlock.c locking/qrwlock: Prevent slowpath writers getting held up by fastpath 2018-06-25 03:25:29 -07:00
qspinlock.c locking/qspinlock, x86: Provide liveness guarantee 2018-12-21 14:11:34 +01:00
qspinlock_paravirt.h locking/qspinlock: Remove duplicate clear_pending() function from PV code 2018-12-21 14:11:34 +01:00
qspinlock_stat.h locking/pvstat: Separate wait_again and spurious wakeup stats 2016-08-10 14:16:02 +02:00
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 locking/spinlock/debug: Remove spinlock lockup detection code 2019-04-04 15:15:11 +08:00