On 2013/6/22 6:52, Tejun Heo wrote: > There are several places in kernel/cgroup.c where task->cgroups is > accessed and modified without going through proper RCU accessors. > None is broken as they're all lock protected accesses; however, this > still triggers sparse RCU address space warnings. > > * Consistently use task_css_set() for task->cgroups dereferencing. > > * Use RCU_INIT_POINTER() to clear task->cgroups to &init_css_set on > exit. > > * Remove unnecessary rcu_dereference_raw() from cset->subsys[] > dereference in cgroup_exit(). > > Signed-off-by: Tejun Heo <tj@xxxxxxxxxx> > Reported-by: Fengguang Wu <fengguang.wu@xxxxxxxxx> Acked-by: Li Zefan <lizefan@xxxxxxxxxx> _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linuxfoundation.org/mailman/listinfo/containers