summaryrefslogtreecommitdiffstats
path: root/Documentation/RCU/lockdep.txt
diff options
context:
space:
mode:
authorPaul E. McKenney2013-03-05 02:55:49 +0100
committerPaul E. McKenney2013-03-12 22:09:02 +0100
commit3f944adb9d1ca912902783e7aede2a5b5c19a605 (patch)
tree2ab5039926992d2497f7ba626f2e10c3666ca351 /Documentation/RCU/lockdep.txt
parentrcu: Make bugginess of code sample more evident (diff)
downloadkernel-qcow2-linux-3f944adb9d1ca912902783e7aede2a5b5c19a605.tar.gz
kernel-qcow2-linux-3f944adb9d1ca912902783e7aede2a5b5c19a605.tar.xz
kernel-qcow2-linux-3f944adb9d1ca912902783e7aede2a5b5c19a605.zip
rcu: Documentation update
This commit applies a few updates based on a quick review of the RCU documentations. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'Documentation/RCU/lockdep.txt')
-rw-r--r--Documentation/RCU/lockdep.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/RCU/lockdep.txt b/Documentation/RCU/lockdep.txt
index a102d4b3724b..cd83d2348fef 100644
--- a/Documentation/RCU/lockdep.txt
+++ b/Documentation/RCU/lockdep.txt
@@ -64,6 +64,11 @@ checking of rcu_dereference() primitives:
but retain the compiler constraints that prevent duplicating
or coalescsing. This is useful when when testing the
value of the pointer itself, for example, against NULL.
+ rcu_access_index(idx):
+ Return the value of the index and omit all barriers, but
+ retain the compiler constraints that prevent duplicating
+ or coalescsing. This is useful when when testing the
+ value of the index itself, for example, against -1.
The rcu_dereference_check() check expression can be any boolean
expression, but would normally include a lockdep expression. However,