Re: [PATCH 03/39] x86/entry/32: Load task stack from x86_tss.sp1 in SYSENTER handler

From: Andy Lutomirski
Date: Tue Jul 17 2018 - 16:05:22 EST


On Tue, Jul 17, 2018 at 12:05 AM, Joerg Roedel <jroedel@xxxxxxx> wrote:
> On Fri, Jul 13, 2018 at 04:17:40PM -0700, Andy Lutomirski wrote:
>> I re-read it again. How about keeping TSS_entry_stack but making it
>> be the offset from the TSS to the entry stack. Then do the arithmetic
>> in asm.
>
> Hmm, I think its better to keep the arithmetic in the C file for better
> readability. How about renaming it to TSS_entry2task_stack?

That's okay with me.

>
>
> Regards,
>
> Joerg