Re: [PATCH] x86: Pin task-stack in __get_wchan()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 11/19/21 6:22 PM, Peter Zijlstra wrote:
On Fri, Nov 19, 2021 at 06:02:50PM +0800, Qi Zheng wrote:

This implementation is very similar to stack_trace_save_tsk(), maybe we
can just move stack_trace_save_tsk() out of CONFIG_STACKTRACE and reuse
it.

No, we want to move away from the stack_trace_*() API because it has
very unclear semantics and various arch implementations differ in
details.

There's a patch that untangles arch_stack_walk*() from CONFIG_STACKTRACE
and we can eventually use that.


Got it.

--
Thanks,
Qi



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux