Received: by 10.213.65.68 with SMTP id h4csp844904imn; Sat, 31 Mar 2018 11:21:11 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+kMjy8A5oHpGTc/v6viLrQJfJ1s8+HJ4yrEftS4ya6y3BKA2urzLUdlRjliPsjM0LUgADI X-Received: by 10.98.137.15 with SMTP id v15mr2739920pfd.95.1522520471666; Sat, 31 Mar 2018 11:21:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522520471; cv=none; d=google.com; s=arc-20160816; b=GOsCGQ85roGWV0wsT3PIt3oHHCTCdutzpQnhojgRkt0ywh0DeIau6AaioP8gidtqZZ Np2no0Fq+Zscm7RuZhHiNgUIdBBWTpelxWz3M/2OQxx8nuf0/1D2rxg6cgqxa9TKGwG+ B/b1/QBxo3KCHl49f0C3wPS7MkNb7FoMj05VrocAtsiHv+4Wmo/CEfZIjgaxI2XYCpBt 6o/zZBXCGbcE7+6dhZWZT1p/3LwHtYXFTsJC7vkk6IV7+IS4Os9XKNsnJ55116Xp+qiB mGaCGnA9xpaTAvXPh5XZrgsLqmyhC4/Q+m7SMbiSWqlawwv9hqihv2R9Js3p9fvE+R9F Mo+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:cc:references:to:subject:arc-authentication-results; bh=qS54nz3pMtcfr8bCt8O/D0dFlt5nXf7Ic+6kVw4ysUc=; b=wuwyfQ1doXOPLBjwHb8/6KWj/BH652WWypcD3QNqKlFLJajLMXP1GygotB+RoaQjyU dSgv9bPkowPsKmBbI1W/wESHwWnP+Vg3CgSuKpa5nmHjVRclqqPbzvDGtWgLd+FePg2U o0iSL6xP2p786VrYvwMdfBrIiHa+QYyPr6iqNBgl0VghvYSh1kJPLkUaD8x6Euju+aRC ci4i0yUJx0OmUFXwIKBXOmoboFUfEytQOqEJqaVzS3FM5wPrYoXY/ItOW3stUZqieMUt b93F44YOWpfJSugdss1N1HTHvKBzsrP2QT16H6FEzKf3Hk3B6xxNwyBs62yHMvLtKtWy GHdQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s1-v6si10815593plr.109.2018.03.31.11.20.57; Sat, 31 Mar 2018 11:21:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753283AbeCaSTv (ORCPT + 99 others); Sat, 31 Mar 2018 14:19:51 -0400 Received: from mga11.intel.com ([192.55.52.93]:26743 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753017AbeCaSTt (ORCPT ); Sat, 31 Mar 2018 14:19:49 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 31 Mar 2018 11:19:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,387,1517904000"; d="scan'208";a="38394138" Received: from kds-oc53.amr.corp.intel.com (HELO [10.252.135.131]) ([10.252.135.131]) by FMSMGA003.fm.intel.com with ESMTP; 31 Mar 2018 11:19:48 -0700 Subject: Re: [PATCH 00/11] Use global pages with PTI To: Ingo Molnar References: <20180327200719.lvdomez6hszpmo4s@gmail.com> <0d6ea030-ec3b-d649-bad7-89ff54094e25@linux.intel.com> <20180330120920.btobga44wqytlkoe@gmail.com> <20180330121725.zcklh36ulg7crydw@gmail.com> <3cdc23a2-99eb-6f93-6934-f7757fa30a3e@linux.intel.com> <62a0dbae-75eb-6737-6029-4aaf72ebd199@linux.intel.com> <20180331053956.uts5yhxfy7ud4bpf@gmail.com> Cc: Thomas Gleixner , Linus Torvalds , Linux Kernel Mailing List , linux-mm , Andrea Arcangeli , Andrew Lutomirski , Kees Cook , Hugh Dickins , =?UTF-8?B?SsO8cmdlbiBHcm/Dnw==?= , the arch/x86 maintainers , namit@vmware.com From: Dave Hansen Message-ID: <2607b1b1-89a7-635c-0c5d-da9f558241f4@linux.intel.com> Date: Sat, 31 Mar 2018 11:19:48 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180331053956.uts5yhxfy7ud4bpf@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/30/2018 10:39 PM, Ingo Molnar wrote: > There were a couple of valid review comments which need to be addressed as well, > but other than that it all looks good to me and I plan to apply the next > iteration. Testing on that non-PCID systems showed an oddity with parts of the kernel image that are modified later in boot (when we set the kernel image read-only). We split a few of the PMD entries and the the old (early boot) values were being used for userspace. I don't think this is a big deal. The most annoying thing is that it makes it harder to quickly validate that all of the things we set to global *should* be global. I'll put some examples of how this looks in the patch when I repost.