Re: Possible dcache BUG

From: Ryan Cumming
Date: Wed Aug 25 2004 - 12:27:16 EST


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

Attachment: pgp00000.pgp
Description: PGP signature