New Multiple-modules Kmod.c

Greg Zornetzer (gaz@andrew.cmu.edu)
Thu, 9 Apr 1998 01:05:23 -0400 (EDT)


Hi everyone,
I reworked the multiple-modules kmod.c to use kernel_thread instead of
fork, (thanks to Jakub Jelinek for his kmod.c revisions). I'm currently
running a copy of 2.1.93 with these modifications and it seems to
run fine. So:
Things that this one fixes from the one in 2.1.94:
It loads multiple modules at once (parport, scsi)
request_module() will return -1 until the kmod thread is activated (won't
blow up on initrd)

Things that still need to be done:
Cleanup of the signal code. I know that the signal code is not working
quite the way that it should (the handler for SIGCHLD isn't being called,
but it does interrupt the interruptible_sleep_on(), I think).
I'd also like to have request_module activate kmod by using a signal,
probably SIGCHLD.
What is the best way to do this?

Anyway, the new kmod is at kmod.c.v5, and can be found with the others at
http://athena.res.cmu.edu/kmod/
I put them on this machine instead of the previous server, since that one
seems to be having a few problems. If the above doesn't work, try the
other address: http://www.contrib.andrew.cmu.edu/~gaz/kmod

Greg Zornetzer - gaz+@andrew.cmu.edu
"Light shines brightest in the darkest night"
http://www.contrib.andrew.cmu.edu/~gaz

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