]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Tue, 30 Oct 2012 13:30:15 +0000 (06:30 -0700)
commit8413826a748e322a182e627268601b18f15bab31
treef56d7e4fe4154593fe12318024160b4b50659872
parentac89f16bda9ba5a303d16629ef21a6fa16835bc4
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