From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 2 12:24:18 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 1D1AC1065678; Mon, 2 Feb 2009 12:24:18 +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 08A7D8FC19; Mon, 2 Feb 2009 12:24: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 OAA12751; Mon, 02 Feb 2009 14:24:15 +0200 (EET) (envelope-from avg@icyb.net.ua) Message-ID: <4986E5EE.1070302@icyb.net.ua> Date: Mon, 02 Feb 2009 14:24:14 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.19 (X11/20090110) MIME-Version: 1.0 To: Rui Paulo References: <49819757.2010002@icyb.net.ua> <8F669786-30A2-458C-8A6B-3272297ADE14@freebsd.org> <4981EC95.1090002@icyb.net.ua> <4986DB28.6080503@icyb.net.ua> <3EAA1D8D-606B-4F59-81B6-644B56AE4831@freebsd.org> <4986E08F.2010305@icyb.net.ua> <86915A93-6023-465F-B937-E9905AFDA4B0@freebsd.org> In-Reply-To: <86915A93-6023-465F-B937-E9905AFDA4B0@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1 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 12:24:18 -0000 on 02/02/2009 14:17 Rui Paulo said the following: > > On 2 Feb 2009, at 12:01, Andriy Gapon wrote: > > >> I may be wrong but this could auto-magically improve some cases where >> there are shared interrupts between drivers with ithreads. In this case, >> I think, their interrupt handler would be run "in parallel" instead of >> sequentially. > > I haven't read the details of the implementation yet, but how does that > work? As I understand, in non-INTR_FILTER case there is one ithread per interrupt vector ("IRQ"), in INTR_FILTER case there is an ithread per handler ("driver"). This is a little bit simplified. -- Andriy Gapon