Re: [PATCH 20/43] x86/entry: Clean up SYSENTER_stack code

From: Andy Lutomirski
Date: Sat Nov 25 2017 - 12:27:05 EST


On Sat, Nov 25, 2017 at 9:10 AM, Borislav Petkov <bp@xxxxxxxxx> wrote:
> On Sat, Nov 25, 2017 at 06:03:36PM +0100, Thomas Gleixner wrote:
>> > Maybe I should rename cpu_tss to cpu_tss_rw in that patch.
>>
>> For clarity that would be nice.
>
> + a comment stating the alias mapping. It took tglx and me a while on
> IRC to figure it out. :-)

I'm adding this comment to the top of cpu_entry_area:

+ * Every field is a virtual alias of some other allocated backing store.
+ * There is no direct allocation of a struct cpu_entry_area.