Re: kldunload DIAGNOSTIC idea...
From: Poul-Henning Kamp (phk_at_phk.freebsd.dk)
Date: 07/21/04
- Previous message: M. Warner Losh: "Re: kldunload DIAGNOSTIC idea..."
- In reply to: M. Warner Losh: "Re: kldunload DIAGNOSTIC idea..."
- Next in thread: Brian Fundakowski Feldman: "Re: kldunload DIAGNOSTIC idea..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: "M. Warner Losh" <imp@bsdimp.com> Date: Wed, 21 Jul 2004 19:15:05 +0200
In message <20040721.111045.88466992.imp@bsdimp.com>, "M. Warner Losh" writes:
>We still ahve to wait for all threads with references to softc to
>drain out before we unload the module. I see a small benefit to that,
>but it seems that the requirements for softc are stronger than ifnet
>and already cover it. The detach routine of the driver could easily
>wait for the ifnet reference count to drop before returning for
>network drivers (heck the if_detach call could wait all references are
>gone, so that it isn't actually in the driver). Where it is stored
>seems not to matter so much.
I have not studied the ifnet scenario in details, so I won't argue
about it.
-- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. _______________________________________________ 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"
- Previous message: M. Warner Losh: "Re: kldunload DIAGNOSTIC idea..."
- In reply to: M. Warner Losh: "Re: kldunload DIAGNOSTIC idea..."
- Next in thread: Brian Fundakowski Feldman: "Re: kldunload DIAGNOSTIC idea..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|