From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f197.google.com (mail-wr0-f197.google.com [209.85.128.197]) by kanga.kvack.org (Postfix) with ESMTP id AC8026B0033 for ; Thu, 2 Nov 2017 14:24:38 -0400 (EDT) Received: by mail-wr0-f197.google.com with SMTP id z96so228288wrb.21 for ; Thu, 02 Nov 2017 11:24:38 -0700 (PDT) Received: from Galois.linutronix.de (Galois.linutronix.de. [2a01:7a0:2:106d:700::1]) by mx.google.com with ESMTPS id g65si204789wma.253.2017.11.02.11.24.37 for (version=TLS1_2 cipher=AES128-SHA bits=128/128); Thu, 02 Nov 2017 11:24:37 -0700 (PDT) Date: Thu, 2 Nov 2017 19:24:32 +0100 (CET) From: Thomas Gleixner Subject: Re: [PATCH 02/23] x86, kaiser: do not set _PAGE_USER for init_mm page tables In-Reply-To: Message-ID: References: <20171031223146.6B47C861@viggo.jf.intel.com> <20171031223150.AB41C68F@viggo.jf.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Andy Lutomirski Cc: Dave Hansen , Andy Lutomirski , Linus Torvalds , "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" , moritz.lipp@iaik.tugraz.at, Daniel Gruss , michael.schwarz@iaik.tugraz.at, Kees Cook , Hugh Dickins , X86 ML On Thu, 2 Nov 2017, Andy Lutomirski wrote: > > On Nov 2, 2017, at 5:38 PM, Dave Hansen wrote: > > > >> On 11/02/2017 04:33 AM, Thomas Gleixner wrote: > >> So for the problem at hand, I'd suggest we disable the vsyscall stuff if > >> CONFIG_KAISER=y and be done with it. > > > > Just to be clear, are we suggesting to just disable > > LEGACY_VSYSCALL_NATIVE if KAISER=y, and allow LEGACY_VSYSCALL_EMULATE? > > Or, do we just force LEGACY_VSYSCALL_NONE=y? > > We'd have to force NONE, and Linus won't like it. The much I hate it, I already accepted grudgingly that we have to keep it alive in some way or the other. Thanks, tglx -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org