From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933972AbdKBQix (ORCPT ); Thu, 2 Nov 2017 12:38:53 -0400 Received: from mga07.intel.com ([134.134.136.100]:59046 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932166AbdKBQiw (ORCPT ); Thu, 2 Nov 2017 12:38:52 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,335,1505804400"; d="scan'208";a="168479399" Subject: Re: [PATCH 02/23] x86, kaiser: do not set _PAGE_USER for init_mm page tables To: Thomas Gleixner , Andy Lutomirski References: <20171031223146.6B47C861@viggo.jf.intel.com> <20171031223150.AB41C68F@viggo.jf.intel.com> Cc: 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 From: Dave Hansen Message-ID: Date: Thu, 2 Nov 2017 09:38:50 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f70.google.com (mail-pg0-f70.google.com [74.125.83.70]) by kanga.kvack.org (Postfix) with ESMTP id E75DA6B0033 for ; Thu, 2 Nov 2017 12:38:52 -0400 (EDT) Received: by mail-pg0-f70.google.com with SMTP id 15so74945pgc.21 for ; Thu, 02 Nov 2017 09:38:52 -0700 (PDT) Received: from mga05.intel.com (mga05.intel.com. [192.55.52.43]) by mx.google.com with ESMTPS id o1si2397060plk.182.2017.11.02.09.38.51 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Nov 2017 09:38:51 -0700 (PDT) Subject: Re: [PATCH 02/23] x86, kaiser: do not set _PAGE_USER for init_mm page tables References: <20171031223146.6B47C861@viggo.jf.intel.com> <20171031223150.AB41C68F@viggo.jf.intel.com> From: Dave Hansen Message-ID: Date: Thu, 2 Nov 2017 09:38:50 -0700 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Thomas Gleixner , Andy Lutomirski Cc: 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 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? -- 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