Re: CLONE_KILLVMCH flag proposal

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Tue Feb 15 2000 - 16:27:03 EST

  • Next message: Zack Weinberg: "2.2.15pre7 spurious error returns from shutdown()"

    > "p->mm" is unreliable: theoritically, a thread could be in temporary lazy
    > tlb mode (start_lazy_tlb() in kernel/exit.c), then p->mm will be NULL. AFAIK
    > this feature is not yet used.

    if you wanted to kill all the threads of a clone without any suprises then
    probably you want to look at how p->parent_exec_id and p->self_exec_id
    are used for parent signalling on thread death. I think there is enough info
    to actually answer the 'who are the threads' question

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



    This archive was generated by hypermail 2b29 : Tue Feb 15 2000 - 17:03:18 EST