diff options
| author | Daniel Vacek <[email protected]> | 2022-12-20 15:14:15 +0000 |
|---|---|---|
| committer | Tejun Heo <[email protected]> | 2023-01-04 22:19:17 +0000 |
| commit | 21786e5cb375a1e58a9175fee423e1d7f892d965 (patch) | |
| tree | 56ee7772e725ee79c792907d5c478534b6e896d1 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | Merge tag 'x86-urgent-2023-01-04' of git://git.kernel.org/pub/scm/linux/kerne... (diff) | |
| download | kernel-21786e5cb375a1e58a9175fee423e1d7f892d965.tar.gz kernel-21786e5cb375a1e58a9175fee423e1d7f892d965.zip | |
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 <[email protected]>
Reviewed-by: Aaron Tomlin <[email protected]>
Acked-by: Mukesh Ojha <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
