Re: [PATCH 08/12] x86/dumpstack: Pin the target stack in save_stack_trace_tsk()

From: Andy Lutomirski
Date: Wed Sep 14 2016 - 14:22:26 EST


On Wed, Sep 14, 2016 at 7:55 AM, Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:
> On Tue, Sep 13, 2016 at 02:29:28PM -0700, Andy Lutomirski wrote:
>> This will prevent a crash if the target task dies before or while
>> dumping its stack once we start freeing task stacks early.
>>
>> Signed-off-by: Andy Lutomirski <luto@xxxxxxxxxx>
>
> Do we need a similar patch for show_stack()?

Probably. Shouldn't it go in show_stack_log_lvl() instead, though?