]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
thread_group_cputime: move a couple of callsites outside of ->siglock
authorOleg Nesterov <oleg@redhat.com>
Mon, 17 Nov 2008 14:40:08 +0000 (15:40 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 17 Nov 2008 15:55:55 +0000 (16:55 +0100)
Impact: relax the locking of cpu-time accounting calls

->siglock buys nothing for thread_group_cputime() in do_sys_times() and
wait_task_zombie() (which btw takes the unrelated parent's ->siglock).

Actually I think do_sys_times() doesn't need ->siglock at all.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found