diff options
author | Shakeel Butt <shakeelb@google.com> | 2021-10-24 23:19:15 -0700 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2021-10-25 07:24:03 -1000 |
commit | bb758421416fd8af2267a8e07d53fb8328b07c4e (patch) | |
tree | 9b7bf563e49231c6e4a77611a572277a07f1faa0 /tools/perf/util/c++/clang.cpp | |
parent | be288169712f3dea0bc6b50c00b3ab53d85f1435 (diff) |
cgroup: remove cgroup_mutex from cgroupstats_build
The function cgroupstats_build extracts cgroup from the kernfs_node's
priv pointer which is a RCU pointer. So, there is no need to grab
cgroup_mutex. Just get the reference on the cgroup before using and
remove the cgroup_mutex altogether.
Signed-off-by: Shakeel Butt <shakeelb@google.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions