From: Peter Zijlstra Date: Tue, 22 Jun 2010 09:44:53 +0000 (+0200) Subject: sched: silence PROVE_RCU in sched_fork() X-Git-Tag: v2.6.35-rc4~49^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8695159967957015f8dfb49315d6f88e111d90e0;p=pandora-kernel.git sched: silence PROVE_RCU in sched_fork() Because cgroup_fork() is ran before sched_fork() [ from copy_process() ] and the child's pid is not yet visible the child is pinned to its cgroup. Therefore we can silence this warning. A nicer solution would be moving cgroup_fork() to right after dup_task_struct() and exclude PF_STARTING from task_subsys_state(). Signed-off-by: Peter Zijlstra Reviewed-by: Li Zefan Signed-off-by: Paul E. McKenney --- Reading git-diff-tree failed