Hi Axel, 2009/11/8 <axeld@xxxxxxxxxxxxxxxx>: > Author: axeld > Date: 2009-11-08 21:26:48 +0100 (Sun, 08 Nov 2009) > New Revision: 33953 > Changeset: http://dev.haiku-os.org/changeset/33953/haiku > Log: > * 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. Also I'm wondering how you chose the value for NUM_LATENCY_LOCKS. Thanks, Jérôme