diff options
author | Peter Zijlstra <peterz@infradead.org> | 2010-06-22 05:44:53 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2010-06-23 18:14:09 -0400 |
commit | 8695159967957015f8dfb49315d6f88e111d90e0 (patch) | |
tree | d575083d37a069be585d575ec036faa8765f1d0c /drivers/net/wireless/p54/p54pci.c | |
parent | 94bfa3b6692c7a3f6f119596724204ec975d3ef0 (diff) |
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 'drivers/net/wireless/p54/p54pci.c')
0 files changed, 0 insertions, 0 deletions