[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181002081653.GJ598@jagdpanzerIV>
Date: Tue, 2 Oct 2018 17:16:53 +0900
From: Sergey Senozhatsky <sergey.senozhatsky.work@...il.com>
To: Daniel Wang <wonderfly@...gle.com>
Cc: stable@...r.kernel.org, pmladek@...e.com,
Alexander.Levin@...rosoft.com, akpm@...ux-foundation.org,
byungchul.park@....com, dave.hansen@...el.com, hannes@...xchg.org,
jack@...e.cz, linux-kernel@...r.kernel.org, linux-mm@...ck.org,
mathieu.desnoyers@...icios.com, mgorman@...e.de, mhocko@...nel.org,
pavel@....cz, penguin-kernel@...ove.sakura.ne.jp,
peterz@...radead.org, rostedt@...dmis.org, tj@...nel.org,
torvalds@...ux-foundation.org, vbabka@...e.cz,
xiyou.wangcong@...il.com, pfeiner@...gle.com
Subject: Re: 4.14 backport request for dbdda842fe96f: "printk: Add console
owner and waiter logic to load balance console writes"
On (09/27/18 12:46), Daniel Wang wrote:
> Prior to this change, the combination of `softlockup_panic=1` and
> `softlockup_all_cpu_stacktrace=1` may result in a deadlock when the reboot path
> is trying to grab the console lock that is held by the stack trace printing
> path. What seems to be happening is that while there are multiple CPUs, only one
> of them is tasked to print the back trace of all CPUs. On a machine with many
> CPUs and a slow serial console (on Google Compute Engine for example), the stack
> trace printing routine hits a timeout and the reboot path kicks in. The latter
> then tries to print something else, but can't get the lock because it's still
> held by earlier printing path.
Sorry, I'm missing something here. Steven's patch deals with lockups and
I understand why you want to backport the patch set; but console output
deadlock on panic() is another thing.
You said
"then tries to print something else, but can't get the lock
because it's still held by earlier printing path"
Can't get which of the locks?
-ss
Powered by blists - more mailing lists