Re: kmod fix

Nahshon (nahshon@actcom.co.il)
Sun, 15 Mar 1998 18:18:51 +0200 (EET)


> Sorry about the reply to my own message.
> Damn, I realized after I hung up that the kmod code I presented causes
> kmod to create little zombies of itself. I'm not really that strong on
> kernel thread stuff... Could anyone know why this is happening? Thanks,

Greg,
Another problem with your patch is in the call to interruptible_sleep_on
in request_module.
Any signal may wake the caller before modprobe has finished and a lot will
be lost.

About zombies. The parent process (the main kmod thread) must wait for
its children.

I'm working on a fix (based on your patch) that will fix these problems
and also remove the limit on the number of request_modules served at the
same time.

Itai

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