Subject: Re: how do I tell if I'm on the interrupt stack?
To: Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
From: Greg Lehey <grog@lemis.com>
List: tech-kern
Date: 09/06/2001 11:18:24
On Wednesday,  5 September 2001 at 20:46:35 -0400, Bill Sommerfeld wrote:
>> Correct me if I'm wrong, but IIUC processes run with all interrupts
>> enabled.
>
> you're wrong ;-).  interrupts are masked by splwhatever()/splx()

I stand corrected.

Matt has a good point, though.  How about something like FreeBSD's
intr_nesting_level?

Greg
--
Finger grog@lemis.com for PGP public key
See complete headers for address and phone numbers