From owner-freebsd-hackers Fri May 10 9:18:20 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from tao.org.uk (genius.tao.org.uk [212.135.162.51]) by hub.freebsd.org (Postfix) with ESMTP id 114E237B400 for ; Fri, 10 May 2002 09:18:16 -0700 (PDT) Received: by tao.org.uk (Postfix, from userid 100) id 8D19B2C3; Fri, 10 May 2002 17:17:52 +0100 (BST) Date: Fri, 10 May 2002 17:17:52 +0100 From: Josef Karthauser To: Peter Wemm Cc: hackers@FreeBSD.ORG Subject: Re: Soft interrupts Message-ID: <20020510161752.GA977@genius.tao.org.uk> References: <20020509223740.GC8889@genius.tao.org.uk> <20020510003901.085A7380A@overcee.wemm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020510003901.085A7380A@overcee.wemm.org> User-Agent: Mutt/1.3.28i 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 On Thu, May 09, 2002 at 05:39:01PM -0700, Peter Wemm wrote: > > You probably want to have a good look at usb_ethersubr.c - it does this > sort of thing already, but for different reasons. On FreeBSD, the usb > hardware interrupts ran (pre-SMPng) as bio, not net. All of the > assumptions, problems and workarounds for this from pre-SMPng are now > invalid or irrelevant. usb_ethersubr.c can be gutted right down now > since splnet and splbio are irrelevant. The problems that NetBSD > has to deal with are no longer the same for us. The softint stuff > is probably harmful for us because it would mean an *extra* context > switch. (from the uhci/ohci ithread to the swinet ithread). > We still need to support -stable though, which has issues similar to NetBSD's. Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message