diff options
| author | Kamalesh Babulal <[email protected]> | 2023-10-06 11:50:32 +0000 |
|---|---|---|
| committer | Tejun Heo <[email protected]> | 2023-10-09 16:46:56 +0000 |
| commit | 27a6c5c50c4bb0c56296f01a3142db796bb01da1 (patch) | |
| tree | 403832a72e820dc6a563bbd25bacf0f753a97286 /tools/testing/selftests/bpf/prog_tests/tracing_struct.c | |
| parent | cgroup/cpuset: Cleanup signedness issue in cpu_exclusive_check() (diff) | |
| download | kernel-27a6c5c50c4bb0c56296f01a3142db796bb01da1.tar.gz kernel-27a6c5c50c4bb0c56296f01a3142db796bb01da1.zip | |
cgroup: use legacy_name for cgroup v1 disable info
cgroup v1 or v2 or both controller names can be passed as arguments to
the 'cgroup_no_v1' kernel parameter, though most of the controller's
names are the same for both cgroup versions. This can be confusing when
both versions are used interchangeably, i.e., passing cgroup_no_v1=io
$ sudo dmesg |grep cgroup
...
cgroup: Disabling io control group subsystem in v1 mounts
cgroup: Disabled controller 'blkio'
Make it consistent across the pr_info()'s, by using ss->legacy_name, as
the subsystem name, while printing the cgroup v1 controller disabling
information in cgroup_init().
Signed-off-by: Kamalesh Babulal <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tracing_struct.c')
0 files changed, 0 insertions, 0 deletions
