Re: [PATCH 24/43] x86/mm/kaiser: Mark per-cpu data structures required for entry/exit

From: Thomas Gleixner
Date: Sat Nov 25 2017 - 12:18:13 EST


On Fri, 24 Nov 2017, Ingo Molnar wrote:
> diff --git a/arch/x86/include/asm/desc.h b/arch/x86/include/asm/desc.h
> index aab4fe9f49f8..300090d1c209 100644
> --- a/arch/x86/include/asm/desc.h
> +++ b/arch/x86/include/asm/desc.h
> @@ -46,7 +46,7 @@ struct gdt_page {
> struct desc_struct gdt[GDT_ENTRIES];
> } __attribute__((aligned(PAGE_SIZE)));
>
> -DECLARE_PER_CPU_PAGE_ALIGNED(struct gdt_page, gdt_page);
> +DECLARE_PER_CPU_PAGE_ALIGNED_USER_MAPPED(struct gdt_page, gdt_page);

This patch is obsolete. We have the alias mappings in the cpu_entry_area
already.

Thanks,

tglx