]> git.baikalelectronics.ru Git - kernel.git/commit
rcu: Produce last "CleanupMore" trace only if late-breaking request
authorJoel Fernandes (Google) <joel@joelfernandes.org>
Mon, 14 May 2018 03:15:40 +0000 (20:15 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 12 Jul 2018 22:38:53 +0000 (15:38 -0700)
commit4aa53992846a55688a87cc3ae906a28ff6550346
treeb090d9ad59ccd60e72d5da8916144fb329d11955
parent617aeaf62e3249e6a75446b18e831e96ef9f8be7
rcu: Produce last "CleanupMore" trace only if late-breaking request

Currently Tree RCU's clean-up code emits a "CleanupMore" trace event in
response to late-arriving grace-period requests even if the grace period
was already requested. This makes "CleanupMore" show up an extra time (in
addition to once for each rcu_node structure that was previously marked
with the request), and for no good reason.  This commit therefore avoids
emitting this trace message unless the the only request for this next
grace period arrived during or after the cleanup scan of the rcu_node
structures.

Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/tree.c