diff options
author | Li Zefan <[email protected]> | 2010-09-02 15:42:43 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2010-09-03 09:55:24 -0700 |
commit | 3fb5a991916091a908d53608a5899240039fb51e (patch) | |
tree | fa8e5855de904daffba92bd177fa57ee85641521 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 323f30b361b2e6febb9065ab4a1a5298acb66ac1 (diff) |
cls_cgroup: Fix rcu lockdep warning
Dave reported an rcu lockdep warning on 2.6.35.4 kernel
task->cgroups and task->cgroups->subsys[i] are protected by RCU.
So we avoid accessing invalid pointers here. This might happen,
for example, when you are deref-ing those pointers while someone
move @task from one cgroup to another.
Reported-by: Dave Jones <[email protected]>
Signed-off-by: Li Zefan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions