Thomas Gleixner
8930ed80f9
rtmutex: Cleanup deadlock detector debug logic
...
The conditions under which deadlock detection is conducted are unclear
and undocumented.
Add constants instead of using 0/1 and provide a selection function
which hides the additional debug dependency from the calling code.
Add comments where needed.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Reviewed-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Lai Jiangshan <laijs@cn.fujitsu.com>
Link: http://lkml.kernel.org/r/20140522031949.947264874@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2014-06-21 22:05:30 +02:00
..
lglock.c
locking: Move the lglocks code to kernel/locking/
2013-11-06 09:24:20 +01:00
lockdep.c
asmlinkage: Add explicit __visible to drivers/*, lib/*, kernel/*
2014-05-05 16:07:46 -07:00
lockdep_internals.h
lockdep: Increase static allocations
2014-04-18 14:20:50 +02:00
lockdep_proc.c
lockdep/proc: Fix lock-time avg computation
2013-11-11 12:41:34 +01:00
lockdep_states.h
locktorture.c
Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip into next
2014-06-03 14:00:15 -07:00
Makefile
locking/rwlocks: Introduce 'qrwlocks' - fair, queued rwlocks
2014-06-06 07:58:28 +02:00
mcs_spinlock.c
locking/mutexes: Introduce cancelable MCS lock for adaptive spinning
2014-03-11 12:14:56 +01:00
mcs_spinlock.h
locking/mutexes: Introduce cancelable MCS lock for adaptive spinning
2014-03-11 12:14:56 +01:00
mutex-debug.c
locking/mutex: Fix debug_mutexes
2014-04-11 10:40:35 +02:00
mutex-debug.h
mutex.c
Merge branch 'x86-asmlinkage-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2014-03-31 14:13:25 -07:00
mutex.h
percpu-rwsem.c
locking: Move the percpu-rwsem code to kernel/locking/
2013-11-06 09:24:22 +01:00
qrwlock.c
locking/rwlocks: Introduce 'qrwlocks' - fair, queued rwlocks
2014-06-06 07:58:28 +02:00
rtmutex-debug.c
rtmutex: Cleanup deadlock detector debug logic
2014-06-21 22:05:30 +02:00
rtmutex-debug.h
rtmutex: Cleanup deadlock detector debug logic
2014-06-21 22:05:30 +02:00
rtmutex-tester.c
rtmutex.c
rtmutex: Cleanup deadlock detector debug logic
2014-06-21 22:05:30 +02:00
rtmutex.h
rtmutex: Cleanup deadlock detector debug logic
2014-06-21 22:05:30 +02:00
rtmutex_common.h
rtmutex: Cleanup deadlock detector debug logic
2014-06-21 22:05:30 +02:00
rwsem-spinlock.c
rwsem-xadd.c
locking/rwsem: Fix checkpatch.pl warnings
2014-06-05 10:39:36 +02:00
rwsem.c
locking/rwsem: Support optimistic spinning
2014-06-05 10:38:21 +02:00
semaphore.c
spinlock.c
spinlock_debug.c