]> git.baikalelectronics.ru Git - kernel.git/commit
rcu: Fix comment about _rcu_barrier()/orphanage exclusion
authorPaul E. McKenney <paul.mckenney@linaro.org>
Thu, 20 Sep 2012 23:59:47 +0000 (16:59 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 23 Oct 2012 21:46:47 +0000 (14:46 -0700)
commit5bf9cf17b6939c227d0486a02d5ac6a80377d647
tree47c72852a260b3063ef362e4d68e6a8ce7f1f7c3
parent240947e4ee42c8814788b947948c00c4b1067298
rcu: Fix comment about _rcu_barrier()/orphanage exclusion

In the old days, _rcu_barrier() acquired ->onofflock to exclude
rcu_send_cbs_to_orphanage(), which allowed the latter to avoid memory
barriers in callback handling.  However, _rcu_barrier() recently started
doing get_online_cpus() to lock out CPU-hotplug operations entirely, which
means that the comment in rcu_send_cbs_to_orphanage() that talks about
->onofflock is now obsolete.  This commit therefore fixes the comment.

Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcutree.c