Special schedulers, one CPU only kernel, one only userland
Julian Elischer
julian at elischer.org
Fri Aug 19 04:48:40 GMT 2005
gnn at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arch
> To unsubscribe, send any mail to "freebsd-arch-unsubscribe at freebsd.org"
More information about the freebsd-arch
mailing list