diff options
author | Daniel Vacek <neelx@redhat.com> | 2022-12-20 18:14:15 +0300 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2023-01-05 01:19:17 +0300 |
commit | 21786e5cb375a1e58a9175fee423e1d7f892d965 (patch) | |
tree | 56ee7772e725ee79c792907d5c478534b6e896d1 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 512dee0c00ad9e9c7ae9f11fc6743702ea40caff (diff) | |
download | linux-21786e5cb375a1e58a9175fee423e1d7f892d965.tar.xz |
cgroup/cpuset: no need to explicitly init a global static variable
cpuset_rwsem is a static variable defined with DEFINE_STATIC_PERCPU_RWSEM().
It's initialized at build time and so there's no need for explicit runtime
init leaking one percpu int.
Signed-off-by: Daniel Vacek <neelx@redhat.com>
Reviewed-by: Aaron Tomlin <atomlin@atomlin.com>
Acked-by: Mukesh Ojha <quic_mojha@quicinc.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions