max_lock_depth

This tunable limits the amount of deadlock-checking the kernel will do. The default value is 1024.