On Mon, Sep 09, 2024 at 06:32:22PM +0200, Michal Koutný wrote: > The configs that disable some v1 controllers would still allow mounting > them but with no controller-specific files. (Making such hierarchies > equivalent to named v1 hierarchies.) To achieve behavior consistent with > actual out-compilation of a whole controller, the mounts should treat > respective controllers as non-existent. > > Wrap implementation into a helper function, leverage legacy_files to > detect compiled out controllers. The effect is that mounts on v1 would > fail and produce a message like: > [ 1543.999081] cgroup: Unknown subsys name 'memory' > > Signed-off-by: Michal Koutný <mkoutny@xxxxxxxx> Applied to cgroup/for-6.12. Thanks. -- tejun