Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 288565
b: refs/heads/master
c: 5e1ee6e
h: refs/heads/master
i:
  288563: b1b82f3
v: v3
  • Loading branch information
Paul E. McKenney committed Feb 21, 2012
1 parent 5ec47ba commit 3d50d09
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 50406b98b6372e7de21d903d2cf3914e9d64e094
refs/heads/master: 5e1ee6e1016763812018bf5c5e966992821dc47e
7 changes: 7 additions & 0 deletions trunk/include/linux/rcupdate.h
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,13 @@ static inline void rcu_preempt_sleep_check(void)
* NULL. Although rcu_access_pointer() may also be used in cases where
* update-side locks prevent the value of the pointer from changing, you
* should instead use rcu_dereference_protected() for this use case.
*
* It is also permissible to use rcu_access_pointer() when read-side
* access to the pointer was removed at least one grace period ago, as
* is the case in the context of the RCU callback that is freeing up
* the data, or after a synchronize_rcu() returns. This can be useful
* when tearing down multi-linked structures after a grace period
* has elapsed.
*/
#define rcu_access_pointer(p) __rcu_access_pointer((p), __rcu)

Expand Down

0 comments on commit 3d50d09

Please sign in to comment.