Re: [PATCH RESEND] x86/process: directly use try_get_task_stack() return value in get_wchan
From: Peter Zijlstra
Date: Thu Sep 30 2021 - 07:11:46 EST
On Thu, Sep 30, 2021 at 06:52:29PM +0800, Jisheng Zhang wrote:
> try_get_task_stack() has already properly gets target task's stack,
> no need to call task_stack_page() again.
Please see:
https://lkml.kernel.org/r/20210929220218.691419-1-keescook@xxxxxxxxxxxx
Whichever way around, this code doesn't live much longer.