RT Mutex debugging, deadlock detection

modulename: rtmutex-debug.ko

configname: CONFIG_DEBUG_RT_MUTEXES

Linux Kernel Configuration
└─>Kernel hacking
└─>Lock Debugging (spinlocks, mutexes, etc...)
└─>RT Mutex debugging, deadlock detection
In linux kernel since version 2.6.18 (release Date: 2006-09-19)  
This allows rt mutex semantics violations and rt mutex related
deadlocks (lockups) to be detected and reported automatically.

source code: