diff options
author | 2021-10-24 23:19:15 -0700 | |
---|---|---|
committer | 2021-10-25 07:24:03 -1000 | |
commit | bb758421416fd8af2267a8e07d53fb8328b07c4e (patch) | |
tree | 9b7bf563e49231c6e4a77611a572277a07f1faa0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cgroup: reduce dependency on cgroup_mutex (diff) | |
download | wireguard-linux-bb758421416fd8af2267a8e07d53fb8328b07c4e.tar.xz wireguard-linux-bb758421416fd8af2267a8e07d53fb8328b07c4e.zip |
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/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions