Re: [PATCH V3 3/7] x86/entry: Switch the stack after error_entry() returns

From: Lai Jiangshan
Date: Tue Mar 15 2022 - 23:02:29 EST


On Wed, Mar 16, 2022 at 10:37 AM Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:
>
> On Tue, Mar 15, 2022 at 03:39:45PM +0800, Lai Jiangshan wrote:
> > .Lerror_entry_from_usermode_after_swapgs:
> > /* Put us onto the real thread stack. */
>
> This comment is no longer correct.

Thanks for the review.

I thought "us" is the pt_regs. But it can be everything including
the "running environment" and "running stack".

I will change "us" to "the pt_regs"

>
> --
> Josh
>