On Tue, Mar 04, 2025 at 06:55:02AM -1000, Tejun Heo <tj@xxxxxxxxxx> wrote:
I'm hoping that we could deprecate /proc/cgroups entirely. Maybe we can justI added the guard with legacy systems (i.e. make this backportable) in
warn whenever the file is accessed?
mind which start with no cgroupfs mounted at all and until they decide
to continue either v1 or v2 way, looking at /proc/cgroups is fine.
It should warn users that look at /proc/cgroups in cases when it bears
no valid information.