printk: Drop console_sem during panic
mainline inclusion from mainline-v5.18-rc1 commit 8ebc476f category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I89RYC CVE: NA ------------------------------------------------- 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 <pmladek@suse.com> Signed-off-by:
Stephen Brennan <stephen.s.brennan@oracle.com> Reviewed-by:
Petr Mladek <pmladek@suse.com> Reviewed-by:
Sergey Senozhatsky <senozhatsky@chromium.org> Signed-off-by:
Petr Mladek <pmladek@suse.com> Link: https://lore.kernel.org/r/20220202171821.179394-5-stephen.s.brennan@oracle.com Conflict: kernel/printk/printk.c Signed-off-by:
Ye Weihua <yeweihua4@huawei.com>
Loading
Please sign in to comment