]> git.ipfire.org Git - thirdparty/linux.git/commit
torture: Announce kernel boot status at torture-test startup
authorPaul E. McKenney <paulmck@kernel.org>
Wed, 6 Aug 2025 22:59:32 +0000 (15:59 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Thu, 14 Aug 2025 22:26:30 +0000 (15:26 -0700)
commitb930ff84f3072df7ab3b0f1cd3a8bb5d02ec4dec
tree13217d89ac754577c47dd3068eeb027fb15208d1
parentbd89367e05e8cf55eacf8627b0b3ed55b938d6fd
torture: Announce kernel boot status at torture-test startup

Sometimes a given system takes surprisingly long to boot, for example,
in one recent case, 70 seconds instead of three seconds.  It would
be good to fix these slow-boot issues, but it would also be good for
the torture tests to announce that the system was still booting at the
start of the test.  Especially for tests that have a greater probability
of false positives when run in the single-CPU boot-time environment.
Yes, those tests should defend themselves, but we should also make this
situation easier to diagnose.

This commit therefore causes torture_print_module_parms() to print
"still booting" at the end of its printk() that dumps out the values of
its module parameters.

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