Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Aug 2005 21:48:33 -0700
From:      Julian Elischer <julian@elischer.org>
To:        gnn@freebsd.org
Cc:        freebsd-arch@freebsd.org
Subject:   Re: Special schedulers, one CPU only kernel, one only userland
Message-ID:  <430564A1.70304@elischer.org>
In-Reply-To: <m27jeiisq3.wl%gnn@neville-neil.com>
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> <m27jeiisq3.wl%gnn@neville-neil.com>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?430564A1.70304>