+ srcu-2-add-srcu-operations-to-rcutorture.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     srcu-2: add SRCU operations to rcutorture

has been added to the -mm tree.  Its filename is

     srcu-2-add-srcu-operations-to-rcutorture.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: srcu-2: add SRCU operations to rcutorture
From: "Paul E. McKenney" <paulmck@xxxxxxxxxx>

Adds SRCU operations to rcutorture and updates rcutorture documentation.

Signed-off-by: Paul E. McKenney <paulmck@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 kernel/rcutorture.c |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff -puN kernel/rcutorture.c~srcu-2-add-srcu-operations-to-rcutorture kernel/rcutorture.c
--- a/kernel/rcutorture.c~srcu-2-add-srcu-operations-to-rcutorture
+++ a/kernel/rcutorture.c
@@ -344,12 +344,11 @@ int srcu_torture_stats(char *page)
 	int cpu;
 	int idx = srcu_ctl.completed & 0x1;
 
-	cnt += sprintf(&page[cnt], "%s%s per-CPU(idx=%d):",
-			torture_type, TORTURE_FLAG, idx);
-	for_each_possible_cpu(cpu) {
+	cnt += sprintf(&page[cnt], "%s%s per-CPU(idx=%d):", torture_type, TORTURE_FLAG, idx);
+	for_each_cpu(cpu) {
 		cnt += sprintf(&page[cnt], " %d(%d,%d)", cpu,
-			       srcu_ctl.per_cpu_ref[cpu].c[!idx],
-			       srcu_ctl.per_cpu_ref[cpu].c[idx]);
+			       per_cpu_ptr(srcu_ctl.per_cpu_ref, cpu)->c[!idx],
+			       per_cpu_ptr(srcu_ctl.per_cpu_ref, cpu)->c[idx]);
 	}
 	cnt += sprintf(&page[cnt], "\n");
 	return (cnt);
_

Patches currently in -mm which might be from paulmck@xxxxxxxxxx are

origin.patch
rcutorture-catchup-doc-fixes-for-idle-hz-tests.patch
rcutorture-add-ops-vector-and-classic-rcu-ops.patch
rcutorture-add-call_rcu_bh-operations.patch
radix-tree-rcu-lockless-readside.patch
adix-tree-rcu-lockless-readside-update.patch
srcu-rcu-variant-permitting-read-side-blocking.patch
srcu-rcu-variant-permitting-read-side-blocking-fixes.patch
srcu-2-rcu-variant-permitting-read-side-blocking.patch
srcu-add-srcu-operations-to-rcutorture.patch
srcu-add-srcu-operations-to-rcutorture-fix.patch
srcu-2-add-srcu-operations-to-rcutorture.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux