From: Tejun Heo Date: Tue, 13 Aug 2013 15:01:54 +0000 (-0400) Subject: cgroup: cgroup_css_from_dir() now should be called with RCU read locked X-Git-Tag: v3.12-rc1~173^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b77d7b6088377998ebf65eaea5e51008c2d75e94;p=pandora-kernel.git cgroup: cgroup_css_from_dir() now should be called with RCU read locked cgroup->subsys[] will become RCU protected and thus all cgroup_css() usages should either be under RCU read lock or cgroup_mutex. This patch updates cgroup_css_from_dir() which returns the matching cgroup_subsys_state given a directory file and subsys_id so that it requires RCU read lock and updates its sole user perf_cgroup_connect(). Signed-off-by: Tejun Heo Acked-by: Li Zefan Cc: Steven Rostedt Cc: Frederic Weisbecker Cc: Ingo Molnar --- Reading git-diff-tree failed