OSDN Git Service

rcu: Replace this_cpu_ptr() with __this_cpu_read()
authorPaul E. McKenney <paulmck@linux.ibm.com>
Mon, 5 Nov 2018 22:20:57 +0000 (14:20 -0800)
committerPaul E. McKenney <paulmck@linux.ibm.com>
Mon, 12 Nov 2018 17:03:59 +0000 (09:03 -0800)
commit117f683c6e0104e1d6dfe8f143ea9c24ab069044
treebbc722e9f6c291675a4b7934ebf25d28275f99c2
parent05f415715ce45da07a0b1a5eac842765b733157f
rcu: Replace this_cpu_ptr() with __this_cpu_read()

Because __this_cpu_read() can be lighter weight than equivalent uses of
this_cpu_ptr(), this commit replaces the latter with the former.

Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
kernel/rcu/tree_plugin.h