Re: [PATCH] x86/entry/64: Fix unwind hint for rewind_stack_do_exit

From: Josh Poimboeuf
Date: Fri Mar 06 2020 - 11:58:49 EST


On Thu, Mar 05, 2020 at 11:54:43PM +0100, Jann Horn wrote:
> The leaq instruction in rewind_stack_do_exit moves the stack pointer
> directly below the pt_regs at the top of the task stack before calling
> do_exit(). Tell the unwinder to expect pt_regs.
>
> Signed-off-by: Jann Horn <jannh@xxxxxxxxxx>

Thanks Jann. This fits in nicely with my ORC series so I'll add it.

--
Josh