Re: [PATCH] rcu: make PREEMPT_RCU to be a decoration of TREE_RCU

2019-10-15 Thread Paul E. McKenney
On Tue, Oct 15, 2019 at 11:01:00AM +0800, Lai Jiangshan wrote: > On 2019/10/15 10:45 上午, Lai Jiangshan wrote: > > On 2019/10/15 10:00 上午, Paul E. McKenney wrote: > > > On Tue, Oct 15, 2019 at 09:50:21AM +0800, Lai Jiangshan wrote: > > > > On Tue, Oct 15, 2019 at 9:46 AM Paul E. McKenney > > > >

Re: [PATCH] rcu: make PREEMPT_RCU to be a decoration of TREE_RCU

2019-10-14 Thread Lai Jiangshan
On 2019/10/15 10:45 上午, Lai Jiangshan wrote: On 2019/10/15 10:00 上午, Paul E. McKenney wrote: On Tue, Oct 15, 2019 at 09:50:21AM +0800, Lai Jiangshan wrote: On Tue, Oct 15, 2019 at 9:46 AM Paul E. McKenney wrote: On Mon, Oct 14, 2019 at 02:48:32PM -0400, Joel Fernandes wrote: On Sun,

Re: [PATCH] rcu: make PREEMPT_RCU to be a decoration of TREE_RCU

2019-10-14 Thread Lai Jiangshan
On 2019/10/15 10:00 上午, Paul E. McKenney wrote: On Tue, Oct 15, 2019 at 09:50:21AM +0800, Lai Jiangshan wrote: On Tue, Oct 15, 2019 at 9:46 AM Paul E. McKenney wrote: On Mon, Oct 14, 2019 at 02:48:32PM -0400, Joel Fernandes wrote: On Sun, Oct 13, 2019 at 12:59:57PM +, Lai Jiangshan

Re: [PATCH] rcu: make PREEMPT_RCU to be a decoration of TREE_RCU

2019-10-14 Thread Paul E. McKenney
On Tue, Oct 15, 2019 at 09:50:21AM +0800, Lai Jiangshan wrote: > On Tue, Oct 15, 2019 at 9:46 AM Paul E. McKenney wrote: > > > > On Mon, Oct 14, 2019 at 02:48:32PM -0400, Joel Fernandes wrote: > > > On Sun, Oct 13, 2019 at 12:59:57PM +, Lai Jiangshan wrote: > > > > Currently PREEMPT_RCU and

Re: [PATCH] rcu: make PREEMPT_RCU to be a decoration of TREE_RCU

2019-10-14 Thread Lai Jiangshan
On Tue, Oct 15, 2019 at 9:46 AM Paul E. McKenney wrote: > > On Mon, Oct 14, 2019 at 02:48:32PM -0400, Joel Fernandes wrote: > > On Sun, Oct 13, 2019 at 12:59:57PM +, Lai Jiangshan wrote: > > > Currently PREEMPT_RCU and TREE_RCU are "contrary" configs > > > when they can't be both on. But

Re: [PATCH] rcu: make PREEMPT_RCU to be a decoration of TREE_RCU

2019-10-14 Thread Paul E. McKenney
On Mon, Oct 14, 2019 at 02:48:32PM -0400, Joel Fernandes wrote: > On Sun, Oct 13, 2019 at 12:59:57PM +, Lai Jiangshan wrote: > > Currently PREEMPT_RCU and TREE_RCU are "contrary" configs > > when they can't be both on. But PREEMPT_RCU is actually a kind > > of TREE_RCU in the implementation.

Re: [PATCH] rcu: make PREEMPT_RCU to be a decoration of TREE_RCU

2019-10-14 Thread Joel Fernandes
On Sun, Oct 13, 2019 at 12:59:57PM +, Lai Jiangshan wrote: > Currently PREEMPT_RCU and TREE_RCU are "contrary" configs > when they can't be both on. But PREEMPT_RCU is actually a kind > of TREE_RCU in the implementation. It seams to be appropriate > to make PREEMPT_RCU to be a decorative

[PATCH] rcu: make PREEMPT_RCU to be a decoration of TREE_RCU

2019-10-13 Thread Lai Jiangshan
Currently PREEMPT_RCU and TREE_RCU are "contrary" configs when they can't be both on. But PREEMPT_RCU is actually a kind of TREE_RCU in the implementation. It seams to be appropriate to make PREEMPT_RCU to be a decorative option of TREE_RCU. Signed-off-by: Lai Jiangshan Signed-off-by: Lai