Re: [PATCH tip/core/rcu 4/4] rcu: Document alternative RCU/reference-count algorithms

2012-10-30 Thread Paul E. McKenney
On Tue, Oct 30, 2012 at 12:21:03PM -0400, Mathieu Desnoyers wrote: > * Paul E. McKenney (paul...@linux.vnet.ibm.com) wrote: > > From: "Paul E. McKenney" > > > > The approach for mixing RCU and reference counting listed in the RCU > > documentation only describes one possible approach. This appro

Re: [PATCH tip/core/rcu 4/4] rcu: Document alternative RCU/reference-count algorithms

2012-10-30 Thread Mathieu Desnoyers
* Paul E. McKenney (paul...@linux.vnet.ibm.com) wrote: > From: "Paul E. McKenney" > > 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

[PATCH tip/core/rcu 4/4] rcu: Document alternative RCU/reference-count algorithms

2012-10-30 Thread Paul E. McKenney
From: "Paul E. McKenney" 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 ther