rcu: Document alternative RCU/reference-count algorithms
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sat, 27 Oct 2012 23:34:51 +0000 (16:34 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 8 Nov 2012 19:44:38 +0000 (11:44 -0800)
commita4d611fdca0d696f9b8ffb007a119944ed5275fa
tree87eb64500ffd89e1bf75af158abbf21dd846ed45
parent57d34a6cee1399bfedaa73add1915951cbe75cab
rcu: Document alternative RCU/reference-count algorithms

The approach for mixing RCU and reference counting listed in the RCU
documentation only describes one possible approach.  This approach can
result in failure on the read side, which is nice if you want fresh data,
but not so good if you want simple code.  This commit therefore adds
two additional approaches that feature unconditional reference-count
acquisition by RCU readers.  These approaches are very similar to that
used in the security code.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Documentation/RCU/rcuref.txt