OSDN Git Service

rcu: Eliminate array-index-based RCU primitives
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 20 Apr 2015 01:21:47 +0000 (18:21 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 27 May 2015 19:56:16 +0000 (12:56 -0700)
commit1ebee8017d84ec8a0ba893cf7b8be3f70ead088b
tree7eb72494a19bb32b40d0bb241b3c79c872c6e69e
parente90328b87eeff91574c18815bd6991b03bd6ecc0
rcu: Eliminate array-index-based RCU primitives

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@linux.vnet.ibm.com>
Cc: linux-edac@vger.kernel.org
Cc: Tony Luck <tony.luck@intel.com>
Acked-by: Borislav Petkov <bp@suse.de>
include/linux/rcupdate.h