From: Li Zefan Date: Thu, 2 Sep 2010 15:42:43 +0000 (+0000) Subject: cls_cgroup: Fix rcu lockdep warning X-Git-Tag: v2.6.36-rc4~6^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fb5a991916091a908d53608a5899240039fb51e;p=pandora-kernel.git 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 Signed-off-by: Li Zefan Signed-off-by: David S. Miller --- Reading git-diff-tree failed