From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753505AbdKXMQq (ORCPT ); Fri, 24 Nov 2017 07:16:46 -0500 Received: from merlin.infradead.org ([205.233.59.134]:60400 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752762AbdKXMQp (ORCPT ); Fri, 24 Nov 2017 07:16:45 -0500 Date: Fri, 24 Nov 2017 13:16:38 +0100 From: Peter Zijlstra To: Ingo Molnar Cc: linux-kernel@vger.kernel.org, Dave Hansen , Andy Lutomirski , Thomas Gleixner , "H . Peter Anvin" , Borislav Petkov , Linus Torvalds Subject: Re: [PATCH 25/43] x86/mm/kaiser: Unmap kernel from userspace page tables (core patch) Message-ID: <20171124121638.ej2flgfvctw2cqer@hirez.programming.kicks-ass.net> References: <20171124091448.7649-1-mingo@kernel.org> <20171124091448.7649-26-mingo@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171124091448.7649-26-mingo@kernel.org> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 24, 2017 at 10:14:30AM +0100, Ingo Molnar wrote: > +The minimalistic kernel portion of the user page tables try to > +map only what is needed to enter/exit the kernel such as the > +entry/exit functions themselves and the interrupt descriptor > +table (IDT). There are a few unnecessary things that get mapped > +such as the first C function when entering an interrupt (see > +comments in kaiser.c). If I understood Andy's patches correctly, this should no longer be required. Is this text still correct?