Subject: Re: how do I tell if I'm on the interrupt stack?
To: Matthew Jacob <mjacob@feral.com>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-kern
Date: 09/05/2001 15:29:02
On Wed, Sep 05, 2001 at 03:20:33PM -0700, Matthew Jacob wrote:
> How invasive would it be to add/require a per-CPU
> servicing_interrupt() call to all the ports?
> Or perhaps safe_to_sleep()?
Actually, it seems to me that if you have to make this kind of
decision, there's a more fundamental problem.
Can you point me at the code path in question? Seems like there's
a better way (using either *only* tsleep, or *only* some callback
mechanism...)
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>