Re: [PATCH 4/6] rcusync: Introduce struct rcu_sync_ops

2013-10-20 Thread Paul E. McKenney
On Fri, Oct 18, 2013 at 02:10:15PM +0200, Oleg Nesterov wrote: > On 10/18, Lai Jiangshan wrote: > > > > On 10/17/2013 11:42 PM, Paul E. McKenney wrote: > > > On Thu, Oct 17, 2013 at 10:07:15AM +0800, Lai Jiangshan wrote: > > >> On 10/08/2013 06:25 PM, Peter Zijlstra wrote: > > >>> From: Oleg Nester

Re: [PATCH 4/6] rcusync: Introduce struct rcu_sync_ops

2013-10-18 Thread Oleg Nesterov
On 10/18, Lai Jiangshan wrote: > > On 10/17/2013 11:42 PM, Paul E. McKenney wrote: > > On Thu, Oct 17, 2013 at 10:07:15AM +0800, Lai Jiangshan wrote: > >> On 10/08/2013 06:25 PM, Peter Zijlstra wrote: > >>> From: Oleg Nesterov > >>> > >>> Add the new struct rcu_sync_ops which holds sync/call metho

Re: [PATCH 4/6] rcusync: Introduce struct rcu_sync_ops

2013-10-17 Thread Lai Jiangshan
On 10/17/2013 11:42 PM, Paul E. McKenney wrote: > On Thu, Oct 17, 2013 at 10:07:15AM +0800, Lai Jiangshan wrote: >> On 10/08/2013 06:25 PM, Peter Zijlstra wrote: >>> From: Oleg Nesterov >>> >>> Add the new struct rcu_sync_ops which holds sync/call methods, and >>> turn the function pointers in rcu

Re: [PATCH 4/6] rcusync: Introduce struct rcu_sync_ops

2013-10-16 Thread Lai Jiangshan
On 10/08/2013 06:25 PM, Peter Zijlstra wrote: > From: Oleg Nesterov > > Add the new struct rcu_sync_ops which holds sync/call methods, and > turn the function pointers in rcu_sync_struct into an array of struct > rcu_sync_ops. Hi, Paul I think this work should be done in rcupdate.[ch] side by

Re: [PATCH 4/6] rcusync: Introduce struct rcu_sync_ops

2013-10-08 Thread Paul E. McKenney
On Tue, Oct 08, 2013 at 12:25:09PM +0200, Peter Zijlstra wrote: > From: Oleg Nesterov > > Add the new struct rcu_sync_ops which holds sync/call methods, and > turn the function pointers in rcu_sync_struct into an array of struct > rcu_sync_ops. > > This simplifies the "init" helpers, and this wa

[PATCH 4/6] rcusync: Introduce struct rcu_sync_ops

2013-10-08 Thread Peter Zijlstra
From: Oleg Nesterov Add the new struct rcu_sync_ops which holds sync/call methods, and turn the function pointers in rcu_sync_struct into an array of struct rcu_sync_ops. This simplifies the "init" helpers, and this way it is simpler to add the new methods we need, especially ifdef'ed. Signed-o