rcu: Make NOCB CPUs migrate CBs directly from outgoing CPU
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 26 Jun 2017 19:23:46 +0000 (12:23 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 25 Jul 2017 20:04:47 +0000 (13:04 -0700)
commitb1a2d79fe7d210c114003362d93d529912d244df
treef739fab6c1a267b7da1d1e611cab4ad9b4a97ddc
parent95335c0355834c16cc11f041a981ee6782dba2e9
rcu: Make NOCB CPUs migrate CBs directly from outgoing CPU

RCU's CPU-hotplug callback-migration code first moves the outgoing
CPU's callbacks to ->orphan_done and ->orphan_pend, and only then
moves them to the NOCB callback list.  This commit avoids the
extra step (and simplifies the code) by moving the callbacks directly
from the outgoing CPU's callback list to the NOCB callback list.

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