Re: Testers wanted: exorcised kmod.c: no more daemon!

Horst von Brand (vonbrand@inf.utfsm.cl)
Tue, 14 Apr 1998 09:47:11 -0400


hpa@transmeta.com (H. Peter Anvin) said:
> Have the kernel time stamp when the use count goes to zero (in
> MOD_DEC_USE_COUNT) and expose it via /proc/modules. Then you can see
> from user space how long the module has been unused.

Why not just set a timer on count == 0, and when it goes off unload?

But then again, I don't have a clue about all this stuff. I still don't
understand why a separate thread is used to load modules. And I don't
understand why kmod is trying to do everything by itself, not using some
kind of bottom half to do the loading.

Anybody care to explain?

-- 
Dr. Horst H. von Brand                       mailto:vonbrand@inf.utfsm.cl
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu