rcu: Eliminate rcu_state ->orphan_lock
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 27 Jun 2017 00:59:02 +0000 (17:59 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 25 Jul 2017 20:04:48 +0000 (13:04 -0700)
commit537b85c870babacc1cf13235e92bee9de86210e0
tree233487a7b6a4065e6ef2c8a06b11caba245ab306
parent9fa46fb8c9c6dfad30487fb3d905c2ff04b379b7
rcu: Eliminate rcu_state ->orphan_lock

The ->orphan_lock is acquired and released only within the
rcu_migrate_callbacks() function, which now acquires the root rcu_node
structure's ->lock.  This commit therefore eliminates the ->orphan_lock
in favor of the root rcu_node structure's ->lock.

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