Skip to content

Commit 2c3cdf5

Browse files
committed
doc: Update RCU's lockdep.rst
This commit adds a couple of new functions to the documentation. Signed-off-by: Paul E. McKenney <[email protected]>
1 parent 06e6d1d commit 2c3cdf5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Documentation/RCU/lockdep.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ state::
1717
rcu_read_lock_held() for normal RCU.
1818
rcu_read_lock_bh_held() for RCU-bh.
1919
rcu_read_lock_sched_held() for RCU-sched.
20+
rcu_read_lock_any_held() for any of normal RCU, RCU-bh, and RCU-sched.
2021
srcu_read_lock_held() for SRCU.
22+
rcu_read_lock_trace_held() for RCU Tasks Trace.
2123

2224
These functions are conservative, and will therefore return 1 if they
2325
aren't certain (for example, if CONFIG_DEBUG_LOCK_ALLOC is not set).
@@ -53,6 +55,8 @@ checking of rcu_dereference() primitives:
5355
is invoked by both SRCU readers and updaters.
5456
rcu_dereference_raw(p):
5557
Don't check. (Use sparingly, if at all.)
58+
rcu_dereference_raw_check(p):
59+
Don't do lockdep at all. (Use sparingly, if at all.)
5660
rcu_dereference_protected(p, c):
5761
Use explicit check expression "c", and omit all barriers
5862
and compiler constraints. This is useful when the data

0 commit comments

Comments
 (0)