]> git.karo-electronics.de Git - linux-beck.git/commit
perf_counter: Move child perfcounter init to after scheduler init
authorIngo Molnar <mingo@elte.hu>
Tue, 19 May 2009 13:50:30 +0000 (15:50 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 25 May 2009 11:05:06 +0000 (13:05 +0200)
commite4cbb4e3ac8b09fdb11e39e5a5611bfab0a7cd1a
tree987f159fe3867781460c51e3363969efaeee2c8a
parentd94b943054721c346b0881865d645f000cd19880
perf_counter: Move child perfcounter init to after scheduler init

Initialize a task's perfcounters (inherit from parent, etc.) after
the child task's scheduler fields have been initialized already.

[ Impact: cleanup ]

Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: John Kacur <jkacur@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/fork.c