]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita666ed37ab2d052aa67868b38375a815efa0bcd7
tree11a301c7bd5a17207ff25a8e4c2f0c6d0979ec56
parent5cf6397b0131b0fed21fc5bc5f6b2cb4348feb09
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