]> git.baikalelectronics.ru Git - kernel.git/commit
rcu: Shorten irq-disable region in rcu_cleanup_dead_cpu()
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 31 Oct 2014 20:48:41 +0000 (13:48 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 6 Jan 2015 19:02:45 +0000 (11:02 -0800)
commit9b663cd7ca3106d12631ae0b0408c30cefbf8f44
tree78725990111ebe677c9b6df8101f80a202011cdd
parent277f8a6c690bdc28bf3dd9d9a33ae6e9fefdc929
rcu: Shorten irq-disable region in rcu_cleanup_dead_cpu()

Now that we are not migrating callbacks, there is no need to hold the
->orphan_lock across the the ->qsmaskinit bit-clearing process.
This commit therefore releases ->orphan_lock immediately after adopting
the orphaned RCU callbacks.

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