aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/RCU
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@us.ibm.com>2006-10-04 05:17:03 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-04 10:55:30 -0400
commitb2896d2e75c87ea6a842c088db730b03c91db737 (patch)
tree69411d92f0ba99d3888c6fe8c817708e9a47eb67 /Documentation/RCU
parent621934ee7ed5b073c7fd638b347e632c53572761 (diff)
[PATCH] srcu-3: add SRCU operations to rcutorture
Adds SRCU operations to rcutorture and updates rcutorture documentation. Also increases the stress imposed by the rcutorture test. [bunk@stusta.de: make needlessly global code static] Signed-off-by: Paul E. McKenney <paulmck@us.ibm.com> Cc: Paul E. McKenney <paulmck@us.ibm.com> Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Documentation/RCU')
-rw-r--r--Documentation/RCU/torture.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/Documentation/RCU/torture.txt b/Documentation/RCU/torture.txt
index a4948591607d..2174badd31e0 100644
--- a/Documentation/RCU/torture.txt
+++ b/Documentation/RCU/torture.txt
@@ -118,6 +118,21 @@ o "Free-Block Circulation": Shows the number of torture structures
118 as it is only incremented if a torture structure's counter 118 as it is only incremented if a torture structure's counter
119 somehow gets incremented farther than it should. 119 somehow gets incremented farther than it should.
120 120
121Different implementations of RCU can provide implementation-specific
122additional information. For example, SRCU provides the following:
123
124 srcu-torture: rtc: f8cf46a8 ver: 355 tfle: 0 rta: 356 rtaf: 0 rtf: 346 rtmbe: 0
125 srcu-torture: Reader Pipe: 559738 939 0 0 0 0 0 0 0 0 0
126 srcu-torture: Reader Batch: 560434 243 0 0 0 0 0 0 0 0
127 srcu-torture: Free-Block Circulation: 355 354 353 352 351 350 349 348 347 346 0
128 srcu-torture: per-CPU(idx=1): 0(0,1) 1(0,1) 2(0,0) 3(0,1)
129
130The first four lines are similar to those for RCU. The last line shows
131the per-CPU counter state. The numbers in parentheses are the values
132of the "old" and "current" counters for the corresponding CPU. The
133"idx" value maps the "old" and "current" values to the underlying array,
134and is useful for debugging.
135
121 136
122USAGE 137USAGE
123 138