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?