]> www.infradead.org Git - users/dwmw2/linux.git/commit
cgroup/cpuset: Move procfs cpuset attribute under cgroup-v1.c
authorMichal Koutný <mkoutny@suse.com>
Mon, 20 Jan 2025 14:57:49 +0000 (15:57 +0100)
committerTejun Heo <tj@kernel.org>
Fri, 24 Jan 2025 22:01:41 +0000 (12:01 -1000)
commitdae68fba8e115fd84d820354f79da1481135acbd
treef983b6a5011c5de967ce5f9ee35dc4cf8fbb9780
parent4a6780a30e86cde7756954981db9e6aec285793d
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>
init/Kconfig
kernel/cgroup/cpuset-v1.c
kernel/cgroup/cpuset.c