From owner-freebsd-hackers Wed Dec 12 0:48:40 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from cs.huji.ac.il (cs.huji.ac.il [132.65.16.10]) by hub.freebsd.org (Postfix) with ESMTP id 82E5B37B405; Wed, 12 Dec 2001 00:48:31 -0800 (PST) Received: from pampa.cs.huji.ac.il ([132.65.80.32] ident=exim) by cs.huji.ac.il with esmtp (Exim 3.33 #1) id 16E53w-0001PP-00; Wed, 12 Dec 2001 10:48:24 +0200 Received: from localhost ([127.0.0.1] helo=pampa.cs.huji.ac.il ident=danny) by pampa.cs.huji.ac.il with esmtp (Exim 3.22 #2) id 16E53w-000BIB-00; Wed, 12 Dec 2001 10:48:24 +0200 X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Warner Losh Cc: Danny Braniss , Terry Lambert , Bernd Walter , Mike Smith , freebsd-hackers@FreeBSD.ORG, danny@cs.huji.ac.il Subject: Re: irq In-Reply-To: Message from Warner Losh of "Tue, 11 Dec 2001 22:13:46 MST." <200112120513.fBC5DkM33078@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 12 Dec 2001 10:48:24 +0200 From: Danny Braniss Message-Id: Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > In message Danny Braniss writes: > : Q: are all interrupt handlers for the shared irq called, or only the > : 'correct' one? > > You can't tell which card really interrupted. All of them are called. > > Warner let me see if i can summarise: 1- irq are shared by definition. 2- all drivers at/in the same irq are called. 3- it's the driver's responsability to do the 'right thing' or in simpler terms, not to screw things up. I fixed the meteor, so that on interrupt checks if there is anything to do, and if not just returns, btw, on interrups time very little is done. my testing was done so: host A ran an X application that does the video grabbing. - with local display, all ok. - with display on host B, via fast ethernet, the adaptec complained. the meteor complained. after some card shuffling: the adaptec is ok. the meteor hardly complains - IMHO it should not, but it's very low count < .01%. btw, host A is Pentium III/450MHz. Dell GX1, with 128M memory. ah, and thanks to all for explaining the darker sides of irq. danny To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message