From owner-freebsd-arch@FreeBSD.ORG Fri Aug 19 04:48:40 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 5C26416A41F; Fri, 19 Aug 2005 04:48:40 +0000 (GMT) (envelope-from julian@elischer.org) Received: from delight.idiom.com (delight.idiom.com [216.240.32.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 19C3E43D45; Fri, 19 Aug 2005 04:48:39 +0000 (GMT) (envelope-from julian@elischer.org) Received: from idiom.com (idiom.com [216.240.32.1]) by delight.idiom.com (Postfix) with ESMTP id 9661721F696; Thu, 18 Aug 2005 21:48:39 -0700 (PDT) Received: from [192.168.2.2] (home.elischer.org [216.240.48.38]) by idiom.com (8.12.11/8.12.11) with ESMTP id j7J4mbSU090817; Thu, 18 Aug 2005 21:48:37 -0700 (PDT) (envelope-from julian@elischer.org) Message-ID: <430564A1.70304@elischer.org> Date: Thu, 18 Aug 2005 21:48:33 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.7) Gecko/20050424 X-Accept-Language: en, hu MIME-Version: 1.0 To: gnn@freebsd.org 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> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 04:48:40 -0000 gnn@freebsd.org wrote: > 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? I've been reading the linux device drivers bookl from oreily. You caould almost use the first several chapters with sed s/linux/FreeBSD/ and a few other minor changes.. (not a serious comment of course but..) > > Later, > George > _______________________________________________ > freebsd-arch@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arch > To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"