Re: [PATCH] cgroup/cpuset: Move procfs cpuset attribute under cgroup-v1.c
From: Michal Koutný
Date: Thu Jan 16 2025 - 09:06:12 EST
On Thu, Jan 16, 2025 at 08:40:56AM -0500, Waiman Long <llong@xxxxxxxxxx> wrote:
> I do have some reservation in taking out /proc/<pid>/cpuset by default as
> CPUSETS_V1 is off by default. This may break some existing user scripts.
Cannot be /proc/$pid/cpuset declared a v1 feature?
Similar to cpuset fs (that is under CPUSETS_V1). If there's a breakage,
the user is not non-v1 ready and CPUSETS_V1 must be enabled.
> Also the statement that the cpuset file is the same as the path in cgroup
> file in unified hierarchy is not true if that cgroup doesn't have cpuset
> enabled.
(I tried to capture that with the "effective path", I should reword it
more clearly.)
Thanks,
Michal
Attachment:
signature.asc
Description: PGP signature