• Peter Zijlstra's avatar
    signal: re-add dead task accumulation stats. · 32bd671d
    Peter Zijlstra authored
    We're going to split the process wide cpu accounting into two parts:
    
     - clocks; which can take all the time they want since they run
               from user context.
    
     - timers; which need constant time tracing but can affort the overhead
               because they're default off -- and rare.
    
    The clock readout will go back to a full sum of the thread group, for this
    we need to re-add the exit stats that were removed in the initial itimer
    rework (f06febc9: timers: fix itimer/many thread hang).
    
    Furthermore, since that full sum can be rather slow for large thread groups
    and we have the complete dead task stats, revert the do_notify_parent time
    computation.
    Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
    Reviewed-by: default avatarIngo Molnar <mingo@elte.hu>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    32bd671d
fork.c 41.4 KB