Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Aug 2005 11:08:20 +0900
From:      gnn@freebsd.org
To:        Brooks Davis <brooks@one-eyed-alien.net>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: Special schedulers, one CPU only kernel, one only userland
Message-ID:  <m27jeiisq3.wl%gnn@neville-neil.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m27jeiisq3.wl%gnn>