Re: [PATCH 03/16] x86/gdt: Put per-cpu GDT remaps in ascending order
From: Thomas Gleixner
Date: Mon Nov 20 2017 - 16:56:57 EST
On Mon, 20 Nov 2017, Andy Lutomirski wrote:
> We currently have CPU 0's GDT at the top of the GDT range and
> higher-numbered CPUs at lower addreses. This happens because the
> fixmap is upside down (index 0 is the top of the fixmap).
>
> Flip it so that GDTs are in ascending order by virtual address.
> This will simplify a future patch that will generalize the GDT
> remap to contain multiple pages.
>
> Signed-off-by: Andy Lutomirski <luto@xxxxxxxxxx>
Reviewed-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>