]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
locking/spinlock/debug: Remove spinlock lockup detection code
authorWaiman Long <longman@redhat.com>
Wed, 8 Feb 2017 19:46:48 +0000 (14:46 -0500)
committerIngo Molnar <mingo@kernel.org>
Fri, 10 Feb 2017 08:09:49 +0000 (09:09 +0100)
commitbc88c10d7e6900916f5e1ba3829d66a9de92b633
tree1b9c1a97e1fa7daab8461f9660f78bd416b528c5
parentf9af456a61ecfbef8233c5046a9e347c9b98ba05
locking/spinlock/debug: Remove spinlock lockup detection code

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.

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>
kernel/locking/spinlock_debug.c