From owner-freebsd-current@FreeBSD.ORG Mon Feb 16 23:47:13 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C20DD106566B; Mon, 16 Feb 2009 23:47:13 +0000 (UTC) (envelope-from prvs=julian=2911c668e@elischer.org) Received: from smtp-outbound.ironport.com (smtp-outbound.ironport.com [63.251.108.112]) by mx1.freebsd.org (Postfix) with ESMTP id A73308FC0A; Mon, 16 Feb 2009 23:47:13 +0000 (UTC) (envelope-from prvs=julian=2911c668e@elischer.org) Received: from jelischer-laptop.sfo.ironport.com (HELO julian-mac.elischer.org) ([10.251.22.38]) by smtp-outbound.ironport.com with ESMTP; 16 Feb 2009 15:34:00 -0800 Message-ID: <4999F7F9.4030204@elischer.org> Date: Mon, 16 Feb 2009 15:34:17 -0800 From: Julian Elischer User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: Robert Watson References: <20080526110543.J26343@fledge.watson.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: current@FreeBSD.org, net@FreeBSD.org Subject: Re: HEADS UP: IFF_NEEDSGIANT consumers to be disabled, removed X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2009 23:47:14 -0000 Robert Watson wrote: > > (Bcc to arch@) > > On Mon, 26 May 2008, Robert Watson wrote: > >> Just to keep track of things: >> >> http://wiki.freebsd.org/NONMPSAFE_DEORBIT > > Delayed by about six months, the merge and switch to the new USB stack > in 8.x means that we're now fairly close to being able to pick up this > project again. The goal remains to eliminate IFF_NEEDSGIANT, which is > (mostly) the last piece of non-MPSAFE compatibility infrastructure in > the network stack in -CURRENT. I removed support for non-MPSAFE network > protocols before 7.0, and this is the support for non-MPSAFE network > device drivers. As of the current moment in HEAD, the following drivers > are flagged wth IFF_NEEDSGIANT: > > General network device drivers that still require Giant: > > if_ar > if_ray > if_sl > if_sr if_sr and if_ar are really simple and could probably be converted "trivially".. especially if their netgraph code is used. however I wonder if anyone still has that hardware (they are drivers for two sync serial cards). John Hay must have had some when he wrote the driver... > > Old USB network device drivers: > > if_axe > if_cdce > if_cue > if_kue > if_rue > if_rum > if_udav > if_upgt > if_ural > if_urtw > if_zyd > > Network device drivers intimately tangled with the old TTY code: > > if_cx > if_ppp > lf_sl > > A network device driver that appears to conditionally use IFF_NEEDSGIANT > for the purposes of (sometimes) interacting with the old USB code: > > if_ndis > > The following schedule is proposed, assuming nothing goes horribly wrong > with the new USB code in the next few weeks, and remaining nits relating > to USB network and 802.11 drivers are handled: > > 16 February 2009 HEADS UP to lists (this e-mail) > 01 March 2009 Disable build of all IFF_NEEDSGIANT drivers in 8.x > 01 April 2009 Remove all IFF_NEEDSGIANT drivers from 8.x > > In the next couple of weeks, I'd like to resolve the status of (and > eliminate) the if_ndis conditional use of IFF_NEEDSGIANT. There's also > a chance that if_sl will get updated by Ed and myself to work with the > new locking and TTY world orders -- the lock is easy, but the TTY update > takes a bit of work. Perhaps someone will feel moved to do this for > if_ppp and possibly if_cx as well. > > Robert N M Watson > Computer Laboratory > University of Cambridge > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"