linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RESEND] sched: update comment for sched_info.pcount and sched_info.run_delay
@ 2020-02-07 12:34 Wang Long
  0 siblings, 0 replies; only message in thread
From: Wang Long @ 2020-02-07 12:34 UTC (permalink / raw)
  To: mingo, peterz, juri.lelli, vincent.guittot, dietmar.eggemann,
	rostedt, bsegall, mgorman
  Cc: linux-kernel, w

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




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-02-07 12:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-07 12:34 [PATCH RESEND] sched: update comment for sched_info.pcount and sched_info.run_delay Wang Long

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).