]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
signal: re-add dead task accumulation stats.
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Thu, 5 Feb 2009 11:24:15 +0000 (12:24 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 5 Feb 2009 12:04:33 +0000 (13:04 +0100)
commit32bd671d6cbeda60dc73be77fa2b9037d9a9bfa0
tree591c941b9f12ce9f3caefd112f0ada3c5fcc53ab
parent83895147b702434e6f236deeca75211fd0e3da3a
signal: re-add dead task accumulation stats.

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: Peter Zijlstra <a.p.zijlstra@chello.nl>
Reviewed-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/sched.h
kernel/exit.c
kernel/fork.c
kernel/signal.c