Locking API boot-time self-tests

modulename: locking-selftest.ko

configname: CONFIG_DEBUG_LOCKING_API_SELFTESTS

Linux Kernel Configuration
└─>Kernel hacking
└─>Lock Debugging (spinlocks, mutexes, etc...)
└─>Locking API boot-time self-tests
In linux kernel since version 2.6.18 (release Date: 2006-09-19)  
Say Y here if you want the kernel to run a short self-test during
bootup. The self-test checks whether common types of locking bugs
are detected by debugging mechanisms or not. (if you disable
lock debugging then those bugs won't be detected of course.)
The following locking APIs are covered: spinlocks, rwlocks,
mutexes and rwsems.

source code: