From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 29 12:58:46 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DFB081065687 for ; Thu, 29 Jan 2009 12:58:46 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 007998FC17 for ; Thu, 29 Jan 2009 12:58:45 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id OAA19618; Thu, 29 Jan 2009 14:58:25 +0200 (EET) (envelope-from avg@icyb.net.ua) Message-ID: <4981A7F1.1050709@icyb.net.ua> Date: Thu, 29 Jan 2009 14:58:25 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.19 (X11/20090110) MIME-Version: 1.0 To: Ed Schouten References: <49819757.2010002@icyb.net.ua> <20090129125505.GA17198@hoeg.nl> In-Reply-To: <20090129125505.GA17198@hoeg.nl> Content-Type: text/plain; charset=KOI8-U Content-Transfer-Encoding: 7bit Cc: FreeBSD Hackers Subject: Re: INTR_FILTER? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jan 2009 12:58:47 -0000 on 29/01/2009 14:55 Ed Schouten said the following: > * Andriy Gapon 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