From: Wang Long <w@laoqinren.net>
To: 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
Cc: linux-kernel@vger.kernel.org, w@laoqinren.net
Subject: [PATCH RESEND] sched: update comment for sched_info.pcount and sched_info.run_delay
Date: Fri, 7 Feb 2020 20:34:08 +0800 [thread overview]
Message-ID: <1581078848-27015-1-git-send-email-w@laoqinren.net> (raw)
sched_info.pcount is the cumulative counters for all cpus and
sched_info.run_delay is the cumulative counters for all runqueues,
but the comment of these two member is inaccurate.
This patch make the comment more accurate.
Signed-off-by: Wang Long <w@laoqinren.net>
---
include/linux/sched.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 0427849..08d8b24 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -291,10 +291,10 @@ struct sched_info {
#ifdef CONFIG_SCHED_INFO
/* Cumulative counters: */
- /* # of times we have run on this CPU: */
+ /* # of times we have run on all CPUs: */
unsigned long pcount;
- /* Time spent waiting on a runqueue: */
+ /* Time spent waiting on all runqueues: */
unsigned long long run_delay;
/* Timestamps: */
--
1.8.3.1
reply other threads:[~2020-02-07 12:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1581078848-27015-1-git-send-email-w@laoqinren.net \
--to=w@laoqinren.net \
--cc=bsegall@google.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=peterz@infradead.org \
--cc=rostedt@goodmis.org \
--cc=vincent.guittot@linaro.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;
as well as URLs for NNTP newsgroup(s).