Wait/wound mutex debugging: Slowpath testing


Linux Kernel Configuration
└─>Kernel hacking
└─>Lock Debugging (spinlocks, mutexes, etc...)
└─>Wait/wound mutex debugging: Slowpath testing
In linux kernel since version 3.10 (release Date: 2013-06-30)  
This feature enables slowpath testing for w/w mutex users by
injecting additional -EDEADLK wound/backoff cases. Together with
the full mutex checks enabled with (CONFIG_PROVE_LOCKING) this
will test all possible w/w mutex interface abuse with the
exception of simply not acquiring all the required locks.
Note that this feature can introduce significant overhead, so
it really should not be enabled in a production or distro kernel,
even a debug kernel. If you are a driver writer, enable it. If
you are a distro, do not.