[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8735fyc42v.fsf@jogness.linutronix.de>
Date: Tue, 21 Jun 2022 01:29:04 +0206
From: John Ogness <john.ogness@...utronix.de>
To: "Paul E. McKenney" <paulmck@...nel.org>, rcu@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, kernel-team@...com,
rostedt@...dmis.org, "Paul E. McKenney" <paulmck@...nel.org>
Subject: Re: [PATCH rcu 11/12] torture: Flush printk() buffers before
powering off
On 2022-06-20, "Paul E. McKenney" <paulmck@...nel.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@...utronix.de>
> Signed-off-by: Paul E. McKenney <paulmck@...nel.org>
Reviewed-by: John Ogness <john.ogness@...utronix.de>
Powered by blists - more mailing lists