Re: [PATCH tip/core/rcu 2/4] rcu: Eliminate array-index-based RCU primitives

From: Borislav Petkov
Date: Wed May 13 2015 - 09:08:57 EST

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!

Acked-by: Borislav Petkov <bp@xxxxxxx>


ECO tip #101: Trim your mails when you reply.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at