From owner-freebsd-arch@FreeBSD.ORG Fri Aug 19 08:33:22 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 4784116A41F; Fri, 19 Aug 2005 08:33:22 +0000 (GMT) (envelope-from chris@haakonia.hitnet.rwth-aachen.de) Received: from ms-dienst.rz.rwth-aachen.de (ms-1.rz.RWTH-Aachen.DE [134.130.3.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id A361343D46; Fri, 19 Aug 2005 08:33:21 +0000 (GMT) (envelope-from chris@haakonia.hitnet.rwth-aachen.de) Received: from r220-1 (r220-1.rz.RWTH-Aachen.DE [134.130.3.31]) by ms-dienst.rz.rwth-aachen.de (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <0ILG00JNANRKPY@ms-dienst.rz.rwth-aachen.de>; Fri, 19 Aug 2005 10:33:20 +0200 (MEST) Received: from relay.rwth-aachen.de ([134.130.3.1]) by r220-1 (MailMonitor for SMTP v1.2.2 ) ; Fri, 19 Aug 2005 10:33:19 +0200 (MEST) Received: from bigboss.hitnet.rwth-aachen.de (bigspace.hitnet.RWTH-Aachen.DE [137.226.181.2]) by relay.rwth-aachen.de (8.13.3/8.13.3/1) with ESMTP id j7J8XImN028431; Fri, 19 Aug 2005 10:33:18 +0200 (MEST) Received: from moria.hitnet.rwth-aachen.de ([137.226.181.149] helo=haakonia.hitnet.rwth-aachen.de) by bigboss.hitnet.rwth-aachen.de with esmtp (Exim 3.35 #1 (Debian)) id 1E62JS-0005E6-00; Fri, 19 Aug 2005 10:33:18 +0200 Received: by haakonia.hitnet.rwth-aachen.de (Postfix, from userid 1001) id 9097E28446; Fri, 19 Aug 2005 10:32:48 +0200 (CEST) Date: Fri, 19 Aug 2005 10:32:48 +0200 From: Christian Brueffer In-reply-to: To: gnn@freebsd.org Message-id: <20050819083248.GA1769@unixpages.org> MIME-version: 1.0 Content-type: multipart/signed; boundary=17pEHd4RhPHOinZp; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-disposition: inline User-Agent: Mutt/1.5.6i X-Operating-System: FreeBSD 7.0-CURRENT X-PGP-Key: http://people.FreeBSD.org/~brueffer/brueffer.key.asc X-PGP-Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D 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> 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 08:33:22 -0000 --17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 19, 2005 at 11:08:20AM +0900, 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. > >=20 >=20 > Documentatoin comment. When are we going to write a driver writer's > handbook? >=20 Well, Jochen Kunz has already written a nice guide for NetBSD... :-) - Christian --=20 Christian Brueffer chris@unixpages.org brueffer@FreeBSD.org GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc GPG Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D --17pEHd4RhPHOinZp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD4DBQFDBZkwbHYXjKDtmC0RApLXAJY03zhwyscd1hRc7WmTnD/+HjRXAJ45EfU2 wuBkJKXgXlPaYepyoGv2Ww== =mk/H -----END PGP SIGNATURE----- --17pEHd4RhPHOinZp--