summaryrefslogtreecommitdiff
path: root/kernel/printk
diff options
context:
space:
mode:
authorJohn Ogness <john.ogness@linutronix.de>2021-07-15 22:33:54 +0300
committerPetr Mladek <pmladek@suse.com>2021-07-26 16:07:15 +0300
commit55d6af1d66885059ffc2ac23083de52d12be63bb (patch)
tree8d579c4744333fb96485a6e82b5b0945096952f8 /kernel/printk
parent65090f30ab791810a3dc840317e57df05018559c (diff)
downloadlinux-55d6af1d66885059ffc2ac23083de52d12be63bb.tar.xz
lib/nmi_backtrace: explicitly serialize banner and regs
Currently the nmi_backtrace is serialized against other CPUs because the messages are sent to the NMI buffers. Once these buffers are removed, only the dumped stack will be serialized against other CPUs (via the printk_cpu_lock). Also serialize the nmi_backtrace banner and regs using the printk_cpu_lock so that per-CPU serialization will be preserved even after the NMI buffers are removed. Signed-off-by: John Ogness <john.ogness@linutronix.de> Reviewed-by: Petr Mladek <pmladek@suse.com> Signed-off-by: Petr Mladek <pmladek@suse.com> Link: https://lore.kernel.org/r/20210715193359.25946-2-john.ogness@linutronix.de
Diffstat (limited to 'kernel/printk')
0 files changed, 0 insertions, 0 deletions