]> asedeno.scripts.mit.edu Git - linux.git/commit
rcu: Clear request other than RCU_GP_FLAG_INIT at GP end
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 19 Apr 2018 16:40:32 +0000 (09:40 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 15 May 2018 17:30:20 +0000 (10:30 -0700)
commita824a287f6eaec65f1cf7aedfd5f6b69d2d3858f
tree68d5e746eea106fe6ca111a5c7dca132e059a275
parenta508aa597ec2f046c00b8809f887f90cf1aaa47f
rcu: Clear request other than RCU_GP_FLAG_INIT at GP end

Once the grace period has ended, any RCU_GP_FLAG_FQS requests are
irrelevant:  The grace period has ended, so there is no longer any
point in forcing quiescent states in order to try to make it end sooner.
This commit therefore causes rcu_gp_cleanup() to clear any bits other
than RCU_GP_FLAG_INIT from ->gp_flags at the end of the grace period.

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