Re: [PATCH tip/core/rcu 2/4] rcu: Eliminate array-index-based RCU primitives
From: Paul E. McKenney
Date: Thu May 14 2015 - 16:27:47 EST
On Wed, May 13, 2015 at 03:08:45PM +0200, Borislav Petkov wrote:
> On Tue, May 12, 2015 at 02:18:42PM -0700, Paul E. McKenney wrote:
> > From: "Paul E. McKenney" <paulmck@xxxxxxxxxxxxxxxxxx>
> >
> > Now that rcu_access_index() and rcu_dereference_index_check() are no
> > longer used, the commit removes them from the RCU API. This means that
> > RCU's data dependencies now involve only pointers, give or take the
> > occasional cast to and then back from an integer type to do pointer
> > arithmetic. This in turn eliminates the need for a number of operations
> > on values carrying RCU data dependencies.
> >
> > Signed-off-by: Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx>
> > Cc: linux-edac@xxxxxxxxxxxxxxx
> > Cc: Tony Luck <tony.luck@xxxxxxxxx>
> > Cc: Borislav Petkov <bp@xxxxxxxxx>
> > ---
> > include/linux/rcupdate.h | 50 ------------------------------------------------
> > 1 file changed, 50 deletions(-)
>
> Diffstats like this one are my favourite ones!
Me too!
> Acked-by: Borislav Petkov <bp@xxxxxxx>
Applied, thank you!
Thanx, Paul
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/