diff options
author | 2010-06-22 11:44:53 +0200 | |
---|---|---|
committer | 2010-06-23 15:14:09 -0700 | |
commit | 8695159967957015f8dfb49315d6f88e111d90e0 (patch) | |
tree | d575083d37a069be585d575ec036faa8765f1d0c /tools/perf/scripts/python/check-perf-trace.py | |
parent | idr: fix RCU lockdep splat in idr_get_next() (diff) | |
download | linux-dev-8695159967957015f8dfb49315d6f88e111d90e0.tar.xz linux-dev-8695159967957015f8dfb49315d6f88e111d90e0.zip |
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 <a.p.zijlstra@chello.nl>
Reviewed-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions