From: Waiman Long <longman@redhat.com>
To: Tejun Heo <tj@kernel.org>, Petr Malat <oss@malat.biz>
Cc: cgroups@vger.kernel.org
Subject: Re: [PATCH] cgroup/cpuset: Make cpuset.cpus.effective independent of cpuset.cpus
Date: Tue, 26 Mar 2024 11:14:53 -0400 [thread overview]
Message-ID: <c700ec0d-9260-438f-a9c8-7d7c268e4ed3@redhat.com> (raw)
In-Reply-To: <ZgHarUDknkJyidia@slm.duckdns.org>
On 3/25/24 16:12, Tejun Heo wrote:
> On Thu, Mar 21, 2024 at 10:39:45PM +0100, Petr Malat wrote:
>> Requiring cpuset.cpus.effective to be a subset of cpuset.cpus makes it
>> hard to use as one is forced to configure cpuset.cpus of current and all
>> ancestor cgroups, which requires a knowledge about all other units
>> sharing the same cgroup subtree. Also, it doesn't allow using empty
>> cpuset.cpus.
>>
>> Do not require cpuset.cpus.effective to be a subset of cpuset.cpus and
>> create remote cgroup only if cpuset.cpus is empty, to make it easier for
>> the user to control which cgroup is being created.
>>
>> Signed-off-by: Petr Malat <oss@malat.biz>
> Waiman, what do you think?
I think it is possible to make cpuset.cpus.exclusive independent of
cpuset.cpus. There are probably more places that need to be changed
including the cgroup-v2.rst file.
Cheers,
Longman
>
> Thanks.
>
next prev parent reply other threads:[~2024-03-26 15:15 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-21 21:33 [RFC/POC]: Make cpuset.cpus.effective independent of cpuset.cpus Petr Malat
2024-03-21 21:39 ` [PATCH] cgroup/cpuset: " Petr Malat
2024-03-25 20:12 ` Tejun Heo
2024-03-26 15:14 ` Waiman Long [this message]
2024-03-26 16:17 ` Tejun Heo
2024-04-02 17:04 ` Michal Koutný
2024-04-04 4:36 ` Petr Malat
2024-04-04 8:09 ` Michal Koutný
2024-03-22 1:41 ` [RFC/POC]: " Waiman Long
2024-03-22 5:54 ` Petr Malat
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=c700ec0d-9260-438f-a9c8-7d7c268e4ed3@redhat.com \
--to=longman@redhat.com \
--cc=cgroups@vger.kernel.org \
--cc=oss@malat.biz \
--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