From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 2 11:45:17 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 991AE1065673 for ; Mon, 2 Feb 2009 11:45:17 +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 D08AD8FC0A for ; Mon, 2 Feb 2009 11:45:16 +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 NAA10785; Mon, 02 Feb 2009 13:45:13 +0200 (EET) (envelope-from avg@icyb.net.ua) Message-ID: <4986DCC9.8080500@icyb.net.ua> Date: Mon, 02 Feb 2009 13:45:13 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.19 (X11/20090110) MIME-Version: 1.0 To: Paolo Pisati References: <49819757.2010002@icyb.net.ua> <4982FBC7.1080100@oltrelinux.com> In-Reply-To: <4982FBC7.1080100@oltrelinux.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org 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: Mon, 02 Feb 2009 11:45:18 -0000 on 30/01/2009 15:08 Paolo Pisati 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. >> >> > for a bit more information about interrupt filtering, see here: > > http://lists.freebsd.org/pipermail/freebsd-hackers/2007-February/019704.html Paolo, so would it be correct to say that INTR_FILTER is designed to make life much easier in view of shared interrupts. >From the code it seems that there would be virtually no difference when there are no shared interrupt, but with shared interrupts INTR_FILTER removes all the churn and makes interrupt handling nice and clean (from device drivers point of view). -- Andriy Gapon