Jérôme Duval <korli@xxxxxxxxxxxxxxxx> wrote: > > * Added the possibility to debug latency issues with spinlocks. > > * When DEBUG_SPINLOCK_LATENCIES is 1, the system will panic if any > > spinlock is > > held longer than DEBUG_LATENCY micro seconds (currently 200). If > > your system > > doesn't boot anymore, a new safemode setting can disable the panic. > Seeing the code, I suppose it's also valid on SMP machines. Yes, it is. > Also I'm wondering how you chose the value for NUM_LATENCY_LOCKS. It just supports up to 4 nested spinlocks. I doubt there is code that needs more than 3 at a time, so this should be enough. Bye, Axel.