[lkml]   [2001]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRE: kernel_thread vs. zombie

    >How do I force a kernel thread to always be a child of init and never
    >become a zombie ?
    >I do call daemonize at the beginning of the thread (as it won't do
    >anything with files, signals or whatever), but that doesn't
    >seem to be enough.
    Have a look at:
    I have an example there that starts and stops kernel threads
    from init_module and never produced a zombie.
    I use the same code also to start threads from ioctl and it
    works for me. I tested it on UP and SMP, Intel and Alpha,
    2.2.18 and 2.4.2.



    Supercomputing Systems AG email:
    Martin Frey web:
    at Compaq Computer Corporation phone: +1 603 884 4266
    ZKO2-3P09, 110 Spit Brook Road, Nashua, NH 03062

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:29    [W:0.022 / U:44.516 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site