rcu: Consolidate the RCU update functions invoked by sync.c
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 11 Jul 2018 21:42:53 +0000 (14:42 -0700)
committerPaul E. McKenney <paulmck@linux.ibm.com>
Fri, 9 Nov 2018 05:43:20 +0000 (21:43 -0800)
commitd3ff3891b2edba63a7dee9023306bb66878fc3d8
tree92c00d1e7b5b44759eb2c611640cbcd86a1c16bd
parent309ba859b95085f61f4f2a154df6be9cb9713a12
rcu: Consolidate the RCU update functions invoked by sync.c

This commit retains all the various gp_ops[] entries, but makes their
update functions all be synchronize_rcu(), call_rcu() and rcu_barrier().
The read-side checks remain consistent with the various RCU flavors,
which still exist on the read side.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
kernel/rcu/sync.c