diff options
| author | Michal Koutný <mkoutny@suse.com> | 2025-01-20 15:57:49 +0100 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2025-01-24 12:01:41 -1000 |
| commit | dae68fba8e115fd84d820354f79da1481135acbd (patch) | |
| tree | f983b6a5011c5de967ce5f9ee35dc4cf8fbb9780 /init | |
| parent | cgroup: update comment about dropping cgroup kn refs (diff) | |
| download | linux-dae68fba8e115fd84d820354f79da1481135acbd.tar.gz linux-dae68fba8e115fd84d820354f79da1481135acbd.zip | |
cgroup/cpuset: Move procfs cpuset attribute under cgroup-v1.c
The cpuset file is a legacy attribute that is bound primarily to cpuset
v1 hierarchy (equivalent information is available in /proc/$pid/cgroup path
on the unified hierarchy in conjunction with respective
cgroup.controllers showing where cpuset controller is enabled).
Followup to commit b0ced9d378d49 ("cgroup/cpuset: move v1 interfaces to
cpuset-v1.c") and hide CONFIG_PROC_PID_CPUSET under CONFIG_CPUSETS_V1.
Drop an obsolete comment too.
Signed-off-by: Michal Koutný <mkoutny@suse.com>
Acked-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'init')
| -rw-r--r-- | init/Kconfig | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/init/Kconfig b/init/Kconfig index a20e6efd3f0f..2f3121c49ed2 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -1182,7 +1182,8 @@ config CPUSETS_V1 help Legacy cgroup v1 cpusets controller which has been deprecated by cgroup v2 implementation. The v1 is there for legacy applications - which haven't migrated to the new cgroup v2 interface yet. If you + which haven't migrated to the new cgroup v2 interface yet. Legacy + interface includes cpuset filesystem and /proc/<pid>/cpuset. If you do not have any such application then you are completely fine leaving this option disabled. @@ -1190,7 +1191,7 @@ config CPUSETS_V1 config PROC_PID_CPUSET bool "Include legacy /proc/<pid>/cpuset file" - depends on CPUSETS + depends on CPUSETS_V1 default y config CGROUP_DEVICE |
