Messages in this thread | | | From | John Ogness <> | Subject | Re: [PATCH rcu 11/12] torture: Flush printk() buffers before powering off | Date | Tue, 21 Jun 2022 01:29:04 +0206 |
| |
On 2022-06-20, "Paul E. McKenney" <paulmck@kernel.org> wrote: > The rcutorture test suite produces quite a bit of console output > at the end of a test. This means that the new printk() kthreads > are likely to be in the process of flushing output at the time of > the torture_shutdown() function's call to kernel_power_off(). > > This commit therefore invokes pr_flush(1000, true) to flush this > pending console output before invoking kernel_power_off(). > > Fixes: 8e274732115f ("printk: extend console_lock for per-console locking") > Cc: John Ogness <john.ogness@linutronix.de> > Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Reviewed-by: John Ogness <john.ogness@linutronix.de>
| |