On 2025-02-05, "Paul E. McKenney" <paulmck@xxxxxxxxxx> wrote: > commit 35679c18b062368855e183ee6712ca5c16145d8c > Author: Paul E. McKenney <paulmck@xxxxxxxxxx> > Date: Wed Feb 5 12:27:23 2025 -0800 > > printk: Flush console log from kernel_power_off() > > Kernels built with CONFIG_PREEMPT_RT=y can lose significant console output > and shutdown time, which hides shutdown-time RCU issues from rcutorture. > Therefore, make pr_flush() public and invoke it after then last print > in kernel_power_off(). > > [ paulmck: Apply John Ogness feedback. ] > > Signed-off-by: Paul E. McKenney <paulmck@xxxxxxxxxx> Reviewed-by: John Ogness <john.ogness@xxxxxxxxxxxxx>