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
(from:
fae9c79
)
cgroup: Fix an RCU warning in alloc_css_id()
author
Li Zefan
<lizf@cn.fujitsu.com>
Thu, 22 Apr 2010 09:30:00 +0000
(17:30 +0800)
committer
Paul E. McKenney
<paulmck@linux.vnet.ibm.com>
Tue, 4 May 2010 16:25:00 +0000
(09:25 -0700)
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>
No differences found