Mutex debugging, deadlock detection

modulename: mutex-debug.ko

configname: CONFIG_DEBUG_MUTEXES

Linux Kernel Configuration
└─>Mutex debugging, deadlock detection
In linux kernel since version 2.6.16 (release Date: 2006-03-19)  
This allows mutex semantics violations and mutex related deadlocks
(lockups) to be detected and reported automatically.

source code: