Re: [PATCH rcu 11/12] torture: Flush printk() buffers before powering off

From: John Ogness
Date: Tue Jun 21 2022 - 04:09:35 EST


On 2022-06-20, "Paul E. McKenney" <paulmck@xxxxxxxxxx> wrote:
> But given Petr's and your recent changes that are now in mainline, is
> this still really needed? (Tests now pass without it, though tests can
> of course be misleading.)

If all you are interested is if your rcutorture testing was successful,
then I would keep this change. Then, no matter what the kernel does
afterwards, you have your test results.

However, the kernel should correctly shutdown and it should flush the
kernel buffers on shutdown or crash. (It is a kernel bug otherwise.) So
if you also want to implicitly test this (non-rcutorture) functionality,
then you should not use this patch.

John Ogness