From owner-freebsd-arch@FreeBSD.ORG Wed Jul 20 09:34:47 2005 Return-Path: X-Original-To: arch@freebsd.org Delivered-To: freebsd-arch@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BED4716A41F; Wed, 20 Jul 2005 09:34:47 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from mailout07.sul.t-online.com (mailout07.sul.t-online.com [194.25.134.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1191443D49; Wed, 20 Jul 2005 09:34:46 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from fwd25.aul.t-online.de by mailout07.sul.t-online.com with smtp id 1DvAyS-00050c-04; Wed, 20 Jul 2005 11:34:44 +0200 Received: from Andro-Beta.Leidinger.net (bVyUSEZeYeTpLkowwOc6VEL47rRQiLLMFT0H24ZmAxcBzVr-M6XRsz@[84.165.229.68]) by fwd25.sul.t-online.de with esmtp id 1DvAyD-0wgZ8q0; Wed, 20 Jul 2005 11:34:29 +0200 Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id j6K9YPIv029081; Wed, 20 Jul 2005 11:34:25 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from 141.113.101.31 ([141.113.101.31]) by netchild.homeip.net (Horde MIME library) with HTTP for ; Wed, 20 Jul 2005 11:34:24 +0200 Message-ID: <20050720113424.x4h21d1j40gggk0o@netchild.homeip.net> X-Priority: 3 (Normal) Date: Wed, 20 Jul 2005 11:34:24 +0200 From: Alexander Leidinger To: Robert Watson References: <20050718183717.N9430@fledge.watson.org> <42DC08A4.2060001@samsco.org> <20050718235043.Y15510@fledge.watson.org> In-Reply-To: <20050718235043.Y15510@fledge.watson.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.3) / FreeBSD-4.11 X-ID: bVyUSEZeYeTpLkowwOc6VEL47rRQiLLMFT0H24ZmAxcBzVr-M6XRsz@t-dialin.net X-TOI-MSGID: 7a84365d-13b7-40c3-98cc-b7e5fefbea35 Cc: arch@freebsd.org Subject: Re: Network-related device drivers and MPSAFEty: status, and plans for 7.0 X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 09:34:47 -0000 Robert Watson wrote: >> I don't think that we can assume that USB will get fixed for 7.0. >> It would be nice if it does, but we shouldn't plan to orphan these >> drivers because of it. > > If we can get the non-MPSAFE network driver set down to just the USB > drivers, that's probably sufficient to move the Giant work-arounds > into just that driver set, and not have it in the network stack in > general. My goals with 7.x and the network stack MPSAFEty are really > to clean up the architecture, catch many of the edge cases and areas > of uncleanliness, etc. However, this will involve relying on drivers > to lock some fields of ifnet, etc, which in turn relies on the > drivers being synchronized properly. These sorts of cleanups really > rely on drivers universally being self-synchronizing, even if that > just means the workarounds move into a small set of drivers and out > of the stack. I4B forces mpsafenet=0 (or how it is spelled... I'm not at a machine where I can look it up). I assume you're talking about the functionality you can modify with this sysctl... Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 He who knows that enough is enough will always have enough. -- Lao Tsu