[PATCH RESEND] sched: update comment for sched_info.pcount and sched_info.run_delay

From: Wang Long
Date: Fri Feb 07 2020 - 07:34:25 EST


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@xxxxxxxxxxxxx>
---
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