On Wednesday 25 August 2004 07:55, Martin J. Bligh wrote: > This whole thread makes me think ... if we oops, shouldn't we check if > we're holding any spinlocks or semaphores, and just panic the whole > machine if so? Not sure how expensive it would be to hold that state, > but ... On preempt, wouldn't it just be a matter of checking preempt_count? -Ryan