aboutsummaryrefslogtreecommitdiffstats
path: root/lib/nmi_backtrace.c
diff options
context:
space:
mode:
authorJohn Ogness <john.ogness@linutronix.de>2021-07-15 21:39:55 +0206
committerPetr Mladek <pmladek@suse.com>2021-07-26 15:07:15 +0200
commit002eb6ad075142e5940122c7fcee71cf1e906e29 (patch)
treed1cc9a2e98d07e23d26ad165841d3881556f8d25 /lib/nmi_backtrace.c
parentlib/nmi_backtrace: explicitly serialize banner and regs (diff)
downloadlinux-dev-002eb6ad075142e5940122c7fcee71cf1e906e29.tar.xz
linux-dev-002eb6ad075142e5940122c7fcee71cf1e906e29.zip
printk: track/limit recursion
Currently the printk safe buffers provide a form of recursion protection by redirecting to the safe buffers whenever printk() is recursively called. In preparation for removal of the safe buffers, provide an alternate explicit recursion protection. Recursion is limited to 3 levels per-CPU and per-context. 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-3-john.ogness@linutronix.de
Diffstat (limited to 'lib/nmi_backtrace.c')
0 files changed, 0 insertions, 0 deletions