summaryrefslogtreecommitdiff
path: root/lib/zstd/common/portability_macros.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2025-02-25 10:33:28 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-04-20 10:15:12 +0200
commitead1fc9f93e2e51164f2af55ed356fd1a0b48018 (patch)
tree16eea3b68cbf05256cc961ca93c714ba2517aefa /lib/zstd/common/portability_macros.h
parent11ae4fec1f4b4ee06770a572c37d89cbaecbf66e (diff)
Flush console log from kernel_power_off()
[ Upstream commit 6ea9a1781c70a8be1fcdc49134fc1bf4baba8bca ] 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. ] [ paulmck: Appy Sebastian Andrzej Siewior feedback. ] [ paulmck: Apply kernel test robot feedback. ] Signed-off-by: Paul E. McKenney <paulmck@kernel.org> Reviewed-by: John Ogness <john.ogness@linutronix.de> Reviewed-by: Petr Mladek <pmladek@suse.com> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Sergey Senozhatsky <senozhatsky@chromium.org> Link: https://lore.kernel.org/r/5f743488-dc2a-4f19-bdda-cf50b9314832@paulmck-laptop Signed-off-by: Boqun Feng <boqun.feng@gmail.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'lib/zstd/common/portability_macros.h')
0 files changed, 0 insertions, 0 deletions