Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jan 2009 14:58:25 +0200
From:      Andriy Gapon <avg@icyb.net.ua>
To:        Ed Schouten <ed@80386.nl>
Cc:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: INTR_FILTER?
Message-ID:  <4981A7F1.1050709@icyb.net.ua>
In-Reply-To: <20090129125505.GA17198@hoeg.nl>
References:  <49819757.2010002@icyb.net.ua> <20090129125505.GA17198@hoeg.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
on 29/01/2009 14:55 Ed Schouten said the following:
> * Andriy Gapon <avg@icyb.net.ua> wrote:
>> INTR_FILTER - what does it do?
>> It doesn't seem to be documented anywhere, but seems to affect interrupt
>> code.
> 
> Not sure, but I think I was once told that FreeBSD has a `two level'
> interrupt handling scheme, where the filter is invoked directly to only
> figure out whether the interrupt is spurious or not. After it has been
> determined it is not, an interrupt thread is scheduled to handle the
> interrupt.
> 
> But as I said, I'm not sure. :-)
> 

This is true and is documented in bus_setup_intr(9).
But INTR_FILTER is a compile-time kernel option.

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4981A7F1.1050709>