I'm not sure that is possible. When request_module() is called,
it shouldn't return until modprobe has exit()ed. If it doesn't do the
wait(), it might return early and the module won't be ready.
What I'm trying now is to have the kmod daemon fork two
processes, one to do the modprobe and one to wait for it and notify
request_module() that it is done. The daemon just goes back to waiting
as soon as these processes have started.
-- Kirk Petersen muppetlabs.com/~kirk/- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu