From: Luiz Capitulino <luizcap@amazon.com>
To: Waiman Long <longman@redhat.com>, <tj@kernel.org>,
<lizefan.x@bytedance.com>, <hannes@cmpxchg.org>,
<cgroups@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Cc: <lcapitulino@gmail.com>
Subject: Re: [PATH] cgroup: add cgroup_favordynmods= command-line option
Date: Tue, 5 Sep 2023 15:09:50 -0400 [thread overview]
Message-ID: <db22fc20-c6df-50a7-f4ae-582ced24835c@amazon.com> (raw)
In-Reply-To: <7ae52eec-0df3-9bef-e4f6-e33a1873c464@redhat.com>
On 2023-09-05 15:06, Waiman Long wrote:
>
>
>
> On 9/5/23 15:03, Waiman Long wrote:
>>
>> On 9/5/23 14:59, Waiman Long wrote:
>>>
>>> On 9/5/23 13:03, Luiz Capitulino wrote:
>>>> On Thu, Aug 31, 2023 at 10:20:46AM -0400, 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@amazon.com>
>>>> Hi,
>>>>
>>>> Would somebody take a look at this patch please?
>>>>
>>>> Thanks,
>>>>
>>>> - Luiz
>>>
>>> The patch looks good to me. I do have a minor comment that it may be
>>> better to use the relatively new __ro_after_init qualifier instead of
>>> __read_mostly.
Will do the change and post v2 shortly.
>>>
>> With this patch, CGROUP_FAVOR_DYNMODS kconfig option will have no
>> user. So this config option should be removed as well.
>
> My bad. That is not true. Please ignore this comment.
OK, big thanks for taking a look so quickly!
- Luiz
>
> Regards,
> Longman
>
prev parent reply other threads:[~2023-09-05 19:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-31 14:20 Luiz Capitulino
2023-09-05 17:03 ` Luiz Capitulino
2023-09-05 18:59 ` Waiman Long
2023-09-05 19:03 ` Waiman Long
2023-09-05 19:06 ` Waiman Long
2023-09-05 19:09 ` Luiz Capitulino [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=db22fc20-c6df-50a7-f4ae-582ced24835c@amazon.com \
--to=luizcap@amazon.com \
--cc=cgroups@vger.kernel.org \
--cc=hannes@cmpxchg.org \
--cc=lcapitulino@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lizefan.x@bytedance.com \
--cc=longman@redhat.com \
--cc=tj@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®