From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752245AbdKZPyv (ORCPT ); Sun, 26 Nov 2017 10:54:51 -0500 Received: from mail-wr0-f196.google.com ([209.85.128.196]:40170 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751181AbdKZPyu (ORCPT ); Sun, 26 Nov 2017 10:54:50 -0500 X-Google-Smtp-Source: AGs4zMYQbwDapoyQCxj/8/XvVUmqGv4TQjV9DPjS+UgphsNNuo9H/itkcag2pnTU+aPLLztgXz10kg== Date: Sun, 26 Nov 2017 16:54:46 +0100 From: Ingo Molnar To: Thomas Gleixner Cc: linux-kernel@vger.kernel.org, Dave Hansen , Andy Lutomirski , "H . Peter Anvin" , Peter Zijlstra , Borislav Petkov , Linus Torvalds Subject: Re: [PATCH 24/43] x86/mm/kaiser: Mark per-cpu data structures required for entry/exit Message-ID: <20171126155446.lr4kkih42mqo23vd@gmail.com> References: <20171124172411.19476-1-mingo@kernel.org> <20171124172411.19476-25-mingo@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Thomas Gleixner wrote: > 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. Gone in the latest WIP.x86/mm. Thanks, Ingo