Paul E. McKenney a2165e4168 rcu: Don't funnel-lock above leaf node if GP in progress
The old grace-period start code would acquire only the leaf's rcu_node
structure's ->lock if that structure believed that a grace period was
in progress.  The new code advances to the leaf's parent in this case,
needlessly acquiring then leaf's parent's ->lock.  This commit therefore
checks the grace-period state after marking the leaf with the need for
the specified grace period, and if the leaf believes that a grace period
is in progress, takes an early exit.

Reported-by: Joel Fernandes <joel@joelfernandes.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
[ paulmck: Add "Startedleaf" tracing as suggested by Joel Fernandes. ]
2018-07-12 15:38:52 -07:00
..
2018-04-16 11:53:35 +01:00
2017-12-13 15:10:01 -05:00
2018-04-04 13:41:27 +01:00
2017-11-17 14:58:01 -08:00
2017-11-17 09:51:57 -08:00
2017-09-25 20:38:26 +02:00
2018-02-23 14:29:59 +00:00
2018-06-12 10:09:03 -07:00
2018-02-13 21:30:22 +01:00
2017-12-19 10:56:24 +01:00
2018-05-11 13:56:43 -07:00
2018-04-18 23:37:39 -04:00