From: "lujialin (A)" <lujialin4@huawei.com>
To: Tejun Heo <tj@kernel.org>, <peterz@infradead.org>
Cc: Zefan Li <lizefan.x@bytedance.com>, <cgroups@vger.kernel.org>,
LKML <linux-kernel@vger.kernel.org>
Subject: [question] Is it possible for userspace program to control cpu usage time of RT process through cgroup2 now?
Date: Sat, 24 Sep 2022 17:26:20 +0800 [thread overview]
Message-ID: <0a83dcd5-b7fd-811c-b8d2-062115fa8c94@huawei.com> (raw)
Cgroup2 dose not support controling real-time processes and the cpu
controller can only be enabled when all RT processes are in the root cgroup.
RT stuff was being overhauled when cpu controller interface for cgroup
unified hierarchy was being implemented in 2017. It was decided that we
would like to wait till the RT side settles down and proceed with an
interface that better matches RT.
Is it possible for userspace program to control cpu usage time of RT
process through cgroup2 now? If not, how is the current state looking
and is there any proposed solution?
next reply other threads:[~2022-09-24 9:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-24 9:26 lujialin (A) [this message]
2022-09-26 19:12 ` Tejun Heo
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=0a83dcd5-b7fd-811c-b8d2-062115fa8c94@huawei.com \
--to=lujialin4@huawei.com \
--cc=cgroups@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lizefan.x@bytedance.com \
--cc=peterz@infradead.org \
--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®