From owner-freebsd-arch@FreeBSD.ORG Fri Aug 19 02:08:48 2005 Return-Path: X-Original-To: freebsd-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 7901216A41F; Fri, 19 Aug 2005 02:08:48 +0000 (GMT) (envelope-from gnn@neville-neil.com) Received: from mrout2.yahoo.com (mrout2.yahoo.com [216.145.54.172]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C4D843D48; Fri, 19 Aug 2005 02:08:48 +0000 (GMT) (envelope-from gnn@neville-neil.com) Received: from minion.local.neville-neil.com (proxy8.corp.yahoo.com [216.145.48.13]) by mrout2.yahoo.com (8.13.4/8.13.4/y.out) with ESMTP id j7J28KMU049277; Thu, 18 Aug 2005 19:08:22 -0700 (PDT) Date: Fri, 19 Aug 2005 11:08:20 +0900 Message-ID: From: gnn@freebsd.org To: Brooks Davis In-Reply-To: <20050818190625.GA28174@odin.ac.hmc.edu> References: <42F9ECF2.8080809@freebsd.org> <200508181023.05929.jhb@FreeBSD.org> <20050818095546.A91965@xorpc.icir.org> <200508181312.21512.jhb@FreeBSD.org> <20050818190625.GA28174@odin.ac.hmc.edu> User-Agent: Wanderlust/2.12.2 (99 Luftballons) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 Emacs/21.3.50 (powerpc-apple-darwin8.1.0) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: freebsd-arch@freebsd.org Subject: Re: Special schedulers, one CPU only kernel, one only userland 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: Fri, 19 Aug 2005 02:08:48 -0000 At Thu, 18 Aug 2005 12:06:25 -0700, brooks wrote: > Certainly we need assurance that nothing is going to try and touch > the driver before the driver's detach function calls if_free. After > if_free returns, no aspect of the driver should touch the ifnet. Other > parts of the networking system might still have refrence to it should we > end up with a refcouting scheme where the final free of ifnets comes > some time later. All refrences to the softc need to be pruged prior to > exit from the detach routine. > Documentatoin comment. When are we going to write a driver writer's handbook? Later, George