]> Gentwo Git Trees - linux/.git/commit
rcutorture: Suppress "Writer stall state" reports during boot
authorPaul E. McKenney <paulmck@kernel.org>
Wed, 6 Aug 2025 23:07:33 +0000 (16:07 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Thu, 14 Aug 2025 22:26:30 +0000 (15:26 -0700)
commit1b0f583843287275298a559c14e10769fd771cec
tree326f1556010ca7f6ff7d4d83669700dd9a3acba2
parentb930ff84f3072df7ab3b0f1cd3a8bb5d02ec4dec
rcutorture: Suppress "Writer stall state" reports during boot

When rcutorture is running on only the one boot-time CPU while that CPU
is busy invoking initcall() functions, the added load is quite likely to
unduly delay the RCU grace-period kthread, rcutorture readers, and much
else besides.  This can result in rcu_torture_stats_print() reporting
rcutorture writer stalls, which are not really a bug in that environment.
After all, one CPU can only do so much.

This commit therefore suppresses rcutorture writer stalls while the
kernel is booting, that is, while rcu_inkernel_boot_has_ended() continues
returning false.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/rcutorture.c