Subject: Re: how to detect if kernel is running in interrupt ctx
To: Ming Lei <>
From: Manuel Bouyer <>
List: tech-kern
Date: 06/27/2003 21:26:13
On Fri, Jun 27, 2003 at 09:04:36AM -0700, Ming Lei wrote:
> In linux, there is a macro called in_interrupt which can tell if the kernel
> is running in interrupt(including hardware or software) or not because linux
> changes some flags when in or out of the interrupt. Is there any same
> facility in netbsd?

No, I don't think there is.

Manuel Bouyer <>
     NetBSD: 24 ans d'experience feront toujours la difference