Re: [External] Re: [PATCH] printk: fix deadlock when kernel panic

2021-02-05 Thread Muchun Song
On Fri, Feb 5, 2021 at 7:09 PM Petr Mladek wrote: > > Hi, > > first, I am sorry for the late reply. I have been somehow distracted > this week. > > On Mon 2021-02-01 18:26:01, Muchun Song wrote: > > We found a deadlock bug on our server when the kernel panic. It can be > > described in the followi

Re: [PATCH] printk: fix deadlock when kernel panic

2021-02-05 Thread Petr Mladek
Hi, first, I am sorry for the late reply. I have been somehow distracted this week. On Mon 2021-02-01 18:26:01, Muchun Song wrote: > We found a deadlock bug on our server when the kernel panic. It can be > described in the following diagram. > > CPU0: CPU1

[PATCH] printk: fix deadlock when kernel panic

2021-02-01 Thread Muchun Song
We found a deadlock bug on our server when the kernel panic. It can be described in the following diagram. CPU0: CPU1: panic rcu_dump_cpu_stacks kdump_nmi_shootdown_cpus nmi_trigger_cpumask_backt