rcu: Add transitivity to remaining rcu_node ->lock acquisitions
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 8 Oct 2015 22:36:54 +0000 (15:36 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 23 Nov 2015 18:37:35 +0000 (10:37 -0800)
commit6cf10081220ae21175a867d446b3167bcbcb937b
treed56610c200b32e90a2c24fc36a6c405910c95418
parent2a67e741bbbc022e0fadf8c6dbc3a76019ecd0cf
rcu: Add transitivity to remaining rcu_node ->lock acquisitions

The rule is that all acquisitions of the rcu_node structure's ->lock
must provide transitivity:  The lock is not acquired that frequently,
and sorting out exactly which required it and which did not would be
a maintenance nightmare.  This commit therefore supplies the needed
transitivity to the remaining ->lock acquisitions.

Reported-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/tree.c
kernel/rcu/tree_plugin.h
kernel/rcu/tree_trace.c