rcu: Drop early GP request check from rcu_gp_kthread()
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 19 Apr 2018 22:59:55 +0000 (15:59 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 15 May 2018 17:31:04 +0000 (10:31 -0700)
commita458360af63a36424c9f607015f0858aacb84a19
tree315a0afe847e4fa210db1b9f9c5971286aeddcaa
parentc1935209df8c903fc3a33143223338826fa54bd1
rcu: Drop early GP request check from rcu_gp_kthread()

Now that grace-period requests use funnel locking and now that they
set ->gp_flags to RCU_GP_FLAG_INIT even when the RCU grace-period
kthread has not yet started, rcu_gp_kthread() no longer needs to check
need_any_future_gp() at startup time.  This commit therefore removes
this check.

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