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]
Date:	Thu, 24 Mar 2011 13:48:03 -0400
From:	Joe Korty <joe.korty@...r.com>
To:	paulmck@...ux.vnet.ibm.com
Cc:	fweisbec@...il.com, peterz@...radead.org, laijs@...fujitsu.com,
	mathieu.desnoyers@...icios.com, dhowells@...hat.com,
	loic.minier@...aro.org, dhaval.giani@...il.com, tglx@...utronix.de,
	josh@...htriplett.org, houston.jim@...cast.net,
	andi@...stfloor.org, linux-kernel@...r.kernel.org
Subject: [PATCH 15/24] jrcu: reorganize statistics

jrcu: re-organize statistics and their display.

Signed-off-by: Joe Korty <joe.korty@...r.com>

Index: b/kernel/jrcu.c
===================================================================
--- a/kernel/jrcu.c
+++ b/kernel/jrcu.c
@@ -588,20 +588,26 @@ static int rcu_debugfs_show(struct seq_f
 	else
 		seq_printf(m, "%14s: daemon priority\n", "none, no daemon");
 #endif
-	seq_printf(m, "%14u: #passes seen\n",
+
+	seq_printf(m, "\n");
+	seq_printf(m, "%14u: #passes\n",
 		rcu_stats.npasses);
-	seq_printf(m, "%14u: #batches seen\n",
+	seq_printf(m, "%14u: #passes resulting in end-of-batch\n",
 		rcu_stats.nbatches);
-	seq_printf(m, "%14u: #barriers seen\n",
+	seq_printf(m, "%14u: #passes not resulting in end-of-batch\n",
+		rcu_stats.npasses - rcu_stats.nbatches);
+	seq_printf(m, "%14u: #msecs since last end-of-batch\n",
+		msecs);
+	seq_printf(m, "%14u: #passes forced (0 is best)\n",
+		rcu_stats.nforced);
+
+	seq_printf(m, "\n");
+	seq_printf(m, "%14u: #barriers\n",
 		atomic_read(&rcu_stats.nbarriers));
 	seq_printf(m, "%14llu: #callbacks invoked\n",
 		rcu_stats.ninvoked);
 	seq_printf(m, "%14u: #callbacks left to invoke\n",
 		atomic_read(&rcu_stats.nleft));
-	seq_printf(m, "%14u: #msecs since last end-of-batch\n",
-		msecs);
-	seq_printf(m, "%14u: #passes forced (0 is best)\n",
-		rcu_stats.nforced);
 	seq_printf(m, "\n");
 
 	for_each_online_cpu(cpu)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ