lkml.org 
[lkml]   [1998]   [Mar]   [15]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSun, 15 Mar 1998 18:18:51 +0200 (EET)
FromNahshon <>
SubjectRe: kmod fix
> 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

\
 
 \ /
  Last update: 2005-03-22 12:41    [from the cache]
©2003-2008