Re: [PATH v2] cgroup: add cgroup_favordynmods= command-line option

From: Michal Koutný
Date: Thu Sep 07 2023 - 11:27:16 EST


On Wed, Sep 06, 2023 at 12:57:12AM +0000, Luiz Capitulino <luizcap@xxxxxxxxxx> wrote:
> We have a need of using favordynmods with cgroup v1, which doesn't support
> changing mount flags during remount. Enabling CONFIG_FAVOR_DYNMODS at
> build-time is not an option because we want to be able to selectively
> enable it for certain systems.

Could this be implemented by a utility that would read /proc/cmdline
(while kernel ignores the arg) and remount respective hierarchies
accordingly? Or what do I miss?

Thanks,
Michal

Attachment: signature.asc
Description: PGP signature