Messages in this thread | | | From | DJBARROW@de ... | Date | Tue, 5 Sep 2000 12:46:03 +0200 | Subject | Question 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/
| |