[PATCH tip/core/rcu 01/10] rcu: Remove rcu_dynticks * parameters when they are always this_cpu_ptr(_dynticks)

2014-10-28 Thread Paul E. McKenney
From: Christoph Lameter For some functions in kernel/rcu/tree* the rdtp parameter is always this_cpu_ptr(rdtp). Remove the parameter if constant and calculate the pointer in function. This will have the advantage that it is obvious that the address are all per cpu offsets and thus it will

Re: rcu: Remove rcu_dynticks * parameters when they are always this_cpu_ptr(_dynticks)

2014-09-02 Thread Paul E. McKenney
On Tue, Sep 02, 2014 at 03:13:44PM -0500, Christoph Lameter wrote: > For some functions in kernel/rcu/tree* the rdtp parameter is always > this_cpu_ptr(rdtp). > Remove the parameter if constant and calculate the pointer in function. > > This will have the advantage that it is obvious that the

rcu: Remove rcu_dynticks * parameters when they are always this_cpu_ptr(_dynticks)

2014-09-02 Thread Christoph Lameter
For some functions in kernel/rcu/tree* the rdtp parameter is always this_cpu_ptr(rdtp). Remove the parameter if constant and calculate the pointer in function. This will have the advantage that it is obvious that the address are all per cpu offsets and thus it will enable the use of this_cpu_ops