rcu-tasks: Be more patient for RCU Tasks boot-time testing
authorPaul E. McKenney <paulmck@kernel.org>
Tue, 7 Jun 2022 22:23:52 +0000 (15:23 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Tue, 21 Jun 2022 22:49:38 +0000 (15:49 -0700)
commit1cf1144e8473e8c3180ac8b91309e29b6acfd95f
tree11a301c7bd5a17207ff25a8e4c2f0c6d0979ec56
parenteea3423b162d5d5cdc08af23e8ee2c2d1134fd07
rcu-tasks: Be more patient for RCU Tasks boot-time testing

The RCU-Tasks family of grace-period primitives can take some time to
complete, and the amount of time can depend on the exact hardware and
software configuration.  Some configurations boot up fast enough that the
RCU-Tasks verification process gets false-positive failures.  This commit
therefore allows up to 30 seconds for the grace periods to complete, with
this value adjustable downwards using the rcupdate.rcu_task_stall_timeout
kernel boot parameter.

Reported-by: Matthew Wilcox <willy@infradead.org>
Reported-by: Zhouyi Zhou <zhouzhouyi@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Tested-by: Zhouyi Zhou <zhouzhouyi@gmail.com>
Tested-by: Mark Rutland <mark.rutland@arm.com>
kernel/rcu/tasks.h