[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240923051156.GA55819@rlk>
Date: Mon, 23 Sep 2024 13:11:56 +0800
From: chenqiwu <qiwuchen55@...il.com>
To: Oleg Nesterov <oleg@...hat.com>
Cc: "qiwu.chen" <qiwuchen55@...il.com>, corbet@....net, mhocko@...e.com,
jani.nikula@...el.com, akpm@...ux-foundation.org,
brauner@...nel.org, paulmck@...nel.org, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 2/2] exit: dump current pt_regs info on global init
exit
On Sun, Sep 22, 2024 at 02:54:59PM +0200, Oleg Nesterov wrote:
>
> Well, this means that show_regs() will be called twice if CONFIG_DEBUG_BUGVERBOSE
> at least on x86, see dump_stack() in panic(). See also show_regs_if_on_stack()
> in show_trace_log_lvl().
>
> Not good...
>
Okay, I see. The dump_stack() is arch-dependent function, it doesn't call show_regs()
on arm64. Do you have any suggestion where to dump regs without arch-dependence
on task exiting flow?
Thanks
Qiwu
Powered by blists - more mailing lists