lkml.org 
[lkml]   [2000]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectQuestion regarding kernel_threads


Hi,
I'm using kernel threads in my driver & they work fine however I'm getting
left with zombie processes when they
exit. As I have no parent process calling wait. I've tried attaching making
init my parent process this doesn't
appear to help.

The new daemonize function in 2.3 doesn't fix this problem.

I'm currently thinking of adding a PF_NOZOMBIE flag to the process flags
which releases the
process immeadiately instead of calling exit_notify in do_exit in exit.c

I could just have 1 kernel thread running all the time but this would still
be a zombie when the module is removed.

Have any of you any opinions suggestions or alternatives on this course of
action.


Thanks,
D.J. Barrow Linux for S/390 kernel developer
eMail: djbarrow@de.ibm.com,barrow_dj@yahoo.com
Phone: +49-(0)7031-16-2583
IBM Germany Lab, Schönaicherstr. 220, 71032 Böblingen


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.037 / U:0.080 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site