[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <fffd59ff-eaa8-bba7-03f2-9fc27620bd1c@bytedance.com>
Date: Sat, 8 Apr 2023 13:36:06 +0800
From: Qi Zheng <zhengqi.arch@...edance.com>
To: Josh Poimboeuf <jpoimboe@...nel.org>
Cc: peterz@...radead.org, keescook@...omium.org,
dave.hansen@...ux.intel.com, bp@...en8.de, mingo@...hat.com,
tglx@...utronix.de, rostedt@...dmis.org, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] x86: make __get_wchan() use arch_stack_walk()
On 2023/4/8 13:08, Josh Poimboeuf wrote:
> On Thu, Mar 30, 2023 at 04:15:52PM +0800, Qi Zheng wrote:
>> Make __get_wchan() use arch_stack_walk() directly to
>> avoid open-coding of unwind logic.
>>
>> Signed-off-by: Qi Zheng <zhengqi.arch@...edance.com>
>
> Can we just have a shared version of __get_wchan() for all
> CONFIG_ARCH_STACKWALK arches?
From a quick glance, I think it's ok, but we still need to define
the arch's own get_wchan_cb(). I will try to do it.
>
--
Thanks,
Qi
Powered by blists - more mailing lists