lkml.org 
[lkml]   [1998]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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 13:41    [W:0.032 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site