]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
rcu: Consolidate offline-CPU callback initialization
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 16 Jan 2015 22:01:21 +0000 (14:01 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 11 Mar 2015 20:22:36 +0000 (13:22 -0700)
commitb33078b6098148c3efdacc907249a247c9d5491e
tree8a9128a42b47bac12419fe875eaef1ba9534932d
parent490ab882e2719f5e809a0cb5af7fda4620b66dca
rcu: Consolidate offline-CPU callback initialization

Currently, both rcu_cleanup_dead_cpu() and rcu_send_cbs_to_orphanage()
initialize the outgoing CPU's callback list.  However, only
rcu_cleanup_dead_cpu() invokes rcu_send_cbs_to_orphanage(), and
it does so unconditionally, which means that only one of these
initializations is required.  This commit therefore consolidates the
callback-list initialization with the rest of the callback handling in
rcu_send_cbs_to_orphanage().

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