rcu: Consolidate tree setup for synchronize_rcu_expedited()
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 31 Jul 2015 23:04:45 +0000 (16:04 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 21 Sep 2015 04:16:18 +0000 (21:16 -0700)
commitb9585e940a0d78770cda8f9aebf81b17b4d19e6d
tree393ed9b496b85179ebf4112fc9d11d8b4f1de5a2
parent7922cd0e562cb2b8da2c8a0afda2e1c9bb4a94e2
rcu: Consolidate tree setup for synchronize_rcu_expedited()

This commit replaces sync_rcu_preempt_exp_init1(() and
sync_rcu_preempt_exp_init2() with sync_exp_reset_tree_hotplug()
and sync_exp_reset_tree(), which will also be used by
synchronize_sched_expedited(), and sync_rcu_exp_select_nodes(), which
contains code specific to synchronize_rcu_expedited().

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