aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dump_stack.c
diff options
context:
space:
mode:
authorStephen Brennan <[email protected]>2022-02-02 17:18:21 +0000
committerPetr Mladek <[email protected]>2022-02-14 12:39:20 +0000
commit8ebc476fd51e6c0fd3174ec1959a20ba99d4c5e5 (patch)
tree793d63aff1ee802d00cf2155182b379570f76c4e /lib/dump_stack.c
parentprintk: Avoid livelock with heavy printk during panic (diff)
downloadkernel-8ebc476fd51e6c0fd3174ec1959a20ba99d4c5e5.tar.gz
kernel-8ebc476fd51e6c0fd3174ec1959a20ba99d4c5e5.zip
printk: Drop console_sem during panic
If another CPU is in panic, we are about to be halted. Try to gracefully abandon the console_sem, leaving it free for the panic CPU to grab. Suggested-by: Petr Mladek <[email protected]> Signed-off-by: Stephen Brennan <[email protected]> Reviewed-by: Petr Mladek <[email protected]> Reviewed-by: Sergey Senozhatsky <[email protected]> Signed-off-by: Petr Mladek <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions