diff options
author | Tejun Heo <[email protected]> | 2013-06-21 15:52:04 -0700 |
---|---|---|
committer | Tejun Heo <[email protected]> | 2013-06-26 10:48:38 -0700 |
commit | a8ad805cfde00be8fe3b3dae8890996dbeb91e2c (patch) | |
tree | cfe59b30636f951244c748eaab000da68d20a159 /drivers/message/fusion/lsi/mpi_raid.h | |
parent | 14611e51a57df10240817d8ada510842faf0ec51 (diff) |
cgroup: fix RCU accesses around task->cgroups
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 <[email protected]>
Reported-by: Fengguang Wu <[email protected]>
Acked-by: Li Zefan <[email protected]>
Diffstat (limited to 'drivers/message/fusion/lsi/mpi_raid.h')
0 files changed, 0 insertions, 0 deletions