From owner-freebsd-smp Tue Jul 18 22:59: 6 2000 Delivered-To: freebsd-smp@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id CA68A37BCE2; Tue, 18 Jul 2000 22:58:55 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id XAA89830; Tue, 18 Jul 2000 23:58:53 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id XAA77880; Tue, 18 Jul 2000 23:58:43 -0600 (MDT) Message-Id: <200007190558.XAA77880@harmony.village.org> To: Greg Lehey Subject: Re: Tidying up the interrupt registration process Cc: arch@FreeBSD.ORG, smp@FreeBSD.ORG In-reply-to: Your message of "Wed, 19 Jul 2000 13:09:07 +0930." <20000719130907.H12072@wantadilla.lemis.com> References: <20000719130907.H12072@wantadilla.lemis.com> <20000717163038.J26231@wantadilla.lemis.com> <200007190323.VAA76910@harmony.village.org> Date: Tue, 18 Jul 2000 23:58:43 -0600 From: Warner Losh Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <20000719130907.H12072@wantadilla.lemis.com> Greg Lehey writes: : I think this function needs to be completely rewritten in the course : of the implementation of interrupt threads. It sort of works now, so : I don't think we should touch it further until the threads are up and : hobbling. I want to fix the fast interrupt part of it. : That's what I thought. Does anybody else see a reason to convert fast : interrupts into threads? So long as they run with the lowest possible latency, that would be OK. : > pci modems are an interesting problem. You want to share an : > interrupt, but fast interrupts can't be shared. On sufficiently : > fast machines, it isn't an issue, but on slow machines you can : > easily lose characters because interrupts are masked for too long. : > Heavy VM load (eg swapping) seems to make this problem happen more : > often than even just simple heavy disk I/O, but I've not done : > extensive tests to draw boundaries around this problem. : : I can't see anything inherent in the treatment of fast interrupts : which says they can't be shared. I'll take another look at the code; : maybe we can get rid of this restriction. I think it is an implementation thing, but bde will know better. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message