lkml.org 
[lkml]   [2007]   [Apr]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: init's children list is long and slows reaping children.
    Date
    Ingo Molnar <mingo@elte.hu> writes:

    > no. Two _completely separate_ lists.
    >
    > i.e. a to-be-reaped task will still be on the main list _too_. The main
    > list is for all the PID semantics rules. The reap-list is just for
    > wait4() processing. The two would be completely separate.

    And what pray tell except for heuristics is the list of children used for?

    I could find a use in the scheduler (oldest_child and younger/older_sibling).
    I could find a use in mm/oom_kill.

    I could find a use in irixsig where it roles it's own version of wait4.

    Perhaps I was blind but that was about it.

    I didn't see the child list implementing any semantics we really care
    about to user space.

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

    \
     
     \ /
      Last update: 2007-04-06 20:33    [W:4.127 / U:0.160 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site