Re: garbage collection thread zombies

"J B" <[email protected]>
Newsgroups gmane.linux.file-systems.jffs
Message-ID <[email protected]>
>From: David Woodhouse <[email protected]>
>
>Hmmm. Isn't this a problem for _all_ kernel threads which are started
>before init but which may die later? Perhaps a more generic solution
>should be adopted than to make them all reparent themselves _again_ on
>exit?

Yes it is.  I had a few other kernel threads in some of my code with the 
same issue.  I agree that a more generic solution would be better, but there 
aren't many kernel threads in the vanilla kernels that get started before 
init and can then be killed later.  So I simply fixed the few that could.

The presence of reparent_to_init makes me think that the original developers 
thought the onus should be placed on the thread itself.

jb

_________________________________________________________________
Free up your inbox with MSN Hotmail Extra Storage. Multiple plans available. 
http://join.msn.com/?pgmarket=en-us&page=hotmail/es2&ST=1/go/onm00200362ave/direct/01/


To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.