> Tested on i386/UP, but it should work on all platforms. It contains> runtime checks for:>> - missing initialization> - recursive lock> - double unlock> - incorrect use of spin_is_locked() or spin_trylock() [both function> do not work as expected on uniprocessor builds]> The next step are checks for spinlock ordering mismatches.>> Which other runtime checks are possible?

It's very useful to log when a lock(irq) is held more than xx msand who is the caller. Is it possible ?