kldunload DIAGNOSTIC idea...

Poul-Henning Kamp phk at phk.freebsd.dk
Tue Jul 20 23:44:37 PDT 2004


In message <20040720203739.GA72252 at VARK.homeunix.com>, David Schultz writes:

>> Looking for sleep addresses inside the module might make sense too.
>
>But this is just a heuristic that may sometimes fail.  The module
>might be holding resources or locks, it could have callbacks, etc.
>If we're going to offer a forcible unload option, [...]

This has _nothing_ to do with forcible unload.

Please read the subject, again if necessary.

This is an idea for a debug tool which may help people properly
debug and implement unload *in general*.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at 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.


More information about the freebsd-arch mailing list