diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2010-04-22 11:30:00 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2010-05-04 18:25:00 +0200 |
commit | fae9c791703606636c1220e47f6690660042ce7f (patch) | |
tree | c4d1bf20f4b73ee438ae2c3168b9b7ead1418215 /kernel/sched_debug.c | |
parent | cgroup: Fix an RCU warning in cgroup_path() (diff) | |
download | linux-fae9c791703606636c1220e47f6690660042ce7f.tar.xz linux-fae9c791703606636c1220e47f6690660042ce7f.zip |
cgroup: Fix an RCU warning in alloc_css_id()
With CONFIG_PROVE_RCU=y, a warning can be triggered:
# mount -t cgroup -o memory xxx /mnt
# mkdir /mnt/0
...
kernel/cgroup.c:4442 invoked rcu_dereference_check() without protection!
...
This is a false-positive. It's safe to directly access parent_css->id.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/sched_debug.c')
0 files changed, 0 insertions, 0 deletions