rcu: Use RCU CPU stall timeout for rcu_check_gp_start_stall()
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 17 May 2018 20:32:51 +0000 (13:32 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 12 Jul 2018 22:39:20 +0000 (15:39 -0700)
commitb06ae25a1e2b54b2b5bc589a4a118b7bb39159fe
treecfdac7dc54f1027835fe982422afe8edc3e927e0
parent51fbb910f52c8559a78665d203e55ab2b95e7126
rcu: Use RCU CPU stall timeout for rcu_check_gp_start_stall()

Currently, rcu_check_gp_start_stall() waits for one second after the first
request before complaining that a grace period has not yet started.  This
was desirable while testing the conversion from ->future_gp_needed[] to
->gp_seq_needed, but it is a bit on the hair-trigger side for production
use under heavy load.  This commit therefore makes this wait time be
exactly that of the RCU CPU stall warning, allowing easy adjustment of
both timeouts to suit the distribution or installation at hand.

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