posix_cpu_timers_exit_group(): Do not use thread_group_cputimer()
commit17d42c1c497aa54952b9e58c1502a46f0df40315
authorStanislaw Gruszka <sgruszka@redhat.com>
Thu, 6 Aug 2009 23:03:30 +0000 (6 16:03 -0700)
committerIngo Molnar <mingo@elte.hu>
Sat, 8 Aug 2009 16:30:25 +0000 (8 18:30 +0200)
tree0aefce76ad5dca93c9ca5d9261c77e2b4a0c8967
parent7b2aa037e878c939676675969983284a02958ae3
posix_cpu_timers_exit_group(): Do not use thread_group_cputimer()

When the process exits we don't have to run new cputimer nor
use running one (as it not accounts when tsk->exit_state != 0)
to get process CPU times.  As there is only one thread we can
just use CPU times fields from task and signal structs.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Roland McGrath <roland@redhat.com>
Cc: Vitaly Mayatskikh <vmayatsk@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/posix-cpu-timers.c