]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5585cc119f62c6d5778e0b06163f04575afb59af
treecfdac7dc54f1027835fe982422afe8edc3e927e0
parentce74b771973c001d7f0d5abe5fa11a1dbcea35eb
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