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

From: Tejun Heo
Date: Mon Sep 18 2023 - 13:47:21 EST


On Mon, Sep 18, 2023 at 10:01:13AM -0400, Luiz Capitulino wrote:
>
>
> On 2023-09-05 20:57, Luiz Capitulino 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.
> >
> > This commit addresses this by introducing the cgroup_favordynmods=
> > command-line option. This option works for both cgroup v1 and v2 and
> > also allows for disabling favorynmods when the kernel built with
> > CONFIG_FAVOR_DYNMODS=y.
> >
> > Signed-off-by: Luiz Capitulino <luizcap@xxxxxxxxxx>
>
> Ping?

Michal raised some valid concerns. I don't really mind that it's not great
on the edges tho. Michal, what do you think?

Thanks.

--
tejun