]> git.baikalelectronics.ru Git - kernel.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)
commitc4b82e4459d38db29d12fe669143de8f201620fc
tree591c941b9f12ce9f3caefd112f0ada3c5fcc53ab
parent9b2d449c9f29376aaa7a50661a9deb8fc88c7395
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 (03560200: 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