lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1581078848-27015-1-git-send-email-w@laoqinren.net>
Date:   Fri,  7 Feb 2020 20:34:08 +0800
From:   Wang Long <w@...qinren.net>
To:     mingo@...hat.com, peterz@...radead.org, juri.lelli@...hat.com,
        vincent.guittot@...aro.org, dietmar.eggemann@....com,
        rostedt@...dmis.org, bsegall@...gle.com, mgorman@...e.de
Cc:     linux-kernel@...r.kernel.org, w@...qinren.net
Subject: [PATCH RESEND] sched: update comment for sched_info.pcount and sched_info.run_delay

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@...qinren.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



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ