git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e35ec2d
)
cgroup: Fix an RCU warning in cgroup_path()
author
Li Zefan
<lizf@cn.fujitsu.com>
Thu, 22 Apr 2010 09:29:24 +0000
(17:29 +0800)
committer
Paul E. McKenney
<paulmck@linux.vnet.ibm.com>
Tue, 4 May 2010 16:24:59 +0000
(09:24 -0700)
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>
kernel/cgroup.c
patch
|
blob
|
history
diff --cc
kernel/cgroup.c
Simple merge