Skip to content

Commit

Permalink
documentation: Add pointer to percpu-ref for RCU and refcount
Browse files Browse the repository at this point in the history
Signed-off-by: Paul E. McKenney <[email protected]>
Reviewed-by: Josh Triplett <[email protected]>
Reviewed-by: Lai Jiangshan <[email protected]>
  • Loading branch information
paulmck committed Jul 8, 2014
1 parent 128ea44 commit 9963185
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Documentation/RCU/rcuref.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
Reference-count design for elements of lists/arrays protected by RCU.


Please note that the percpu-ref feature is likely your first
stop if you need to combine reference counts and RCU. Please see
include/linux/percpu-refcount.h for more information. However, in
those unusual cases where percpu-ref would consume too much memory,
please read on.

------------------------------------------------------------------------

Reference counting on elements of lists which are protected by traditional
reader/writer spinlocks or semaphores are straightforward:

Expand Down

0 comments on commit 9963185

Please sign in to comment.