From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933917AbdKBST5 (ORCPT ); Thu, 2 Nov 2017 14:19:57 -0400 Received: from mail-pg0-f68.google.com ([74.125.83.68]:52868 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933207AbdKBST4 (ORCPT ); Thu, 2 Nov 2017 14:19:56 -0400 X-Google-Smtp-Source: ABhQp+S0l+O3nJi3NmNpC/19ToCy1ybZ1b2SIIHvgeLny6DCmrSHm4j5WcEZER8XpC5u6uk/xaQs0w== Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: [PATCH 02/23] x86, kaiser: do not set _PAGE_USER for init_mm page tables From: Andy Lutomirski X-Mailer: iPhone Mail (15A432) In-Reply-To: Date: Thu, 2 Nov 2017 19:19:49 +0100 Cc: Thomas Gleixner , 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 Message-Id: References: <20171031223146.6B47C861@viggo.jf.intel.com> <20171031223150.AB41C68F@viggo.jf.intel.com> To: Dave Hansen Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by nfs id vA2IK291024417 > 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. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f199.google.com (mail-pf0-f199.google.com [209.85.192.199]) by kanga.kvack.org (Postfix) with ESMTP id 6BA5D6B0033 for ; Thu, 2 Nov 2017 14:19:57 -0400 (EDT) Received: by mail-pf0-f199.google.com with SMTP id h28so322694pfh.16 for ; Thu, 02 Nov 2017 11:19:57 -0700 (PDT) Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id l8sor1227189pln.81.2017.11.02.11.19.55 for (Google Transport Security); Thu, 02 Nov 2017 11:19:56 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: [PATCH 02/23] x86, kaiser: do not set _PAGE_USER for init_mm page tables From: Andy Lutomirski In-Reply-To: Date: Thu, 2 Nov 2017 19:19:49 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20171031223146.6B47C861@viggo.jf.intel.com> <20171031223150.AB41C68F@viggo.jf.intel.com> Sender: owner-linux-mm@kvack.org List-ID: To: Dave Hansen Cc: Thomas Gleixner , 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 Nov 2, 2017, at 5:38 PM, Dave Hansen wrot= e: >=20 >> 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=3Dy and be done with it. >=20 > Just to be clear, are we suggesting to just disable > LEGACY_VSYSCALL_NATIVE if KAISER=3Dy, and allow LEGACY_VSYSCALL_EMULATE? > Or, do we just force LEGACY_VSYSCALL_NONE=3Dy? We'd have to force NONE, and Linus won't like it.= -- 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