]> Git Repo - linux.git/commit
rtmutex: Cleanup deadlock detector debug logic
authorThomas Gleixner <[email protected]>
Thu, 22 May 2014 03:25:47 +0000 (03:25 +0000)
committerThomas Gleixner <[email protected]>
Sat, 21 Jun 2014 20:05:30 +0000 (22:05 +0200)
commit8930ed80f970a90a795239e7415c9b0e6f964649
tree10463885f150543faaaf621e7ff85bbe6a81c911
parentc051b21f71d1ffdfd7ad406a1ef5ede5e5f974c5
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 <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Reviewed-by: Steven Rostedt <[email protected]>
Cc: Lai Jiangshan <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
kernel/locking/rtmutex-debug.c
kernel/locking/rtmutex-debug.h
kernel/locking/rtmutex.c
kernel/locking/rtmutex.h
kernel/locking/rtmutex_common.h
This page took 0.059008 seconds and 4 git commands to generate.