diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2010-04-22 05:29:24 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2010-05-04 12:24:59 -0400 |
commit | 9a9686b634acc5cb6b7c601c171ae64af0318a24 (patch) | |
tree | 4a8431117018d8883c6d34d5c06f2eff99dcfed6 /kernel/cpuset.c | |
parent | e35ec2d2c1fc45dd3e46dde74bb0c4c4366125bf (diff) |
cgroup: Fix an RCU warning in cgroup_path()
with CONFIG_PROVE_RCU=y, a warning can be triggered:
# mount -t cgroup -o debug xxx /mnt
# cat /proc/$$/cgroup
...
kernel/cgroup.c:1649 invoked rcu_dereference_check() without protection!
...
This is a false-positive, because cgroup_path() can be called
with either rcu_read_lock() held or cgroup_mutex held.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/cpuset.c')
0 files changed, 0 insertions, 0 deletions