mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: Chen Ridong <chenridong@huaweicloud.com>
Cc: "Valentin Schneider" <vschneid@redhat.com>,
	mingo@redhat.com, peterz@infradead.org, juri.lelli@redhat.com,
	vincent.guittot@linaro.org, dietmar.eggemann@arm.com,
	rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de,
	"mkoutny@suse.com >> Michal Koutný" <mkoutny@suse.com>,
	linux-kernel@vger.kernel.org, wangweiyang2@huawei.com,
	cgroups@vger.kernel.org
Subject: Re: [PATCH] freezer, sched: report the frozen task stat as 'D'
Date: Thu, 14 Nov 2024 15:28:16 -1000	[thread overview]
Message-ID: <ZzajsLHrXXtYk04l@slm.duckdns.org> (raw)
In-Reply-To: <2f755161-ec7e-4785-b0ca-ea68c01785a2@huaweicloud.com>

Hello,

On Fri, Nov 15, 2024 at 09:14:32AM +0800, Chen Ridong wrote:
> Hi, Tj, There is no ambiguity what cgroup v2 shows. However, in cgroup
> v1, the frozen tasks are reported as 'R'.  Do you think this is reseanable?

Oh, right, pardon my confusion. I thought this was about cgroup2 freezer.
For cgroup1 freezer, yes, D is the closest state for reporting to userspace.

Thanks.

-- 
tejun

  reply	other threads:[~2024-11-15  1:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-11 13:54 Chen Ridong
2024-11-13 14:34 ` Valentin Schneider
2024-11-14  7:47   ` Chen Ridong
2024-11-14 16:44     ` Tejun Heo
2024-11-15  1:14       ` Chen Ridong
2024-11-15  1:28         ` Tejun Heo [this message]
2024-11-25  2:14           ` Chen Ridong
2024-12-04  1:52             ` Chen Ridong
2024-12-11 16:02               ` Michal Koutný
2024-12-13  1:18                 ` Chen Ridong

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=ZzajsLHrXXtYk04l@slm.duckdns.org \
    --to=tj@kernel.org \
    --cc=bsegall@google.com \
    --cc=cgroups@vger.kernel.org \
    --cc=chenridong@huaweicloud.com \
    --cc=dietmar.eggemann@arm.com \
    --cc=juri.lelli@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mgorman@suse.de \
    --cc=mingo@redhat.com \
    --cc=mkoutny@suse.com \
    --cc=peterz@infradead.org \
    --cc=rostedt@goodmis.org \
    --cc=vincent.guittot@linaro.org \
    --cc=vschneid@redhat.com \
    --cc=wangweiyang2@huawei.com \
    /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®