From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Subject: Re: [PATCH v11 00/11] x86: PIE support to extend KASLR randomization Date: Wed, 4 Mar 2020 11:22:04 -0800 Message-ID: <627fe5d2-e6c3-4eff-1a58-14e17dc04ac5@zytor.com> References: <20200228000105.165012-1-thgarnie@chromium.org> <202003022100.54CEEE60F@keescook> <20200303095514.GA2596@hirez.programming.kicks-ass.net> <6e7e4191612460ba96567c16b4171f2d2f91b296.camel@linux.intel.com> <202003031314.1AFFC0E@keescook> <20200304092136.GI2596@hirez.programming.kicks-ass.net> <202003041019.C6386B2F7@keescook> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: virtualization-bounces@lists.linux-foundation.org Sender: "Virtualization" To: Thomas Garnier Cc: Kristen Carlson Accardi , Kernel Hardening , Peter Zijlstra , Rasmus Villemoes , virtualization@lists.linux-foundation.org, Pavel Machek , Will Deacon , Ard Biesheuvel , Thomas Hellstrom , Herbert Xu , Jiri Slaby , Boris Ostrovsky , the arch/x86 maintainers , "VMware, Inc." , Ingo Molnar , Linux Crypto Mailing List , Len Brown , Kees Cook , Linux PM list , Cao jin , Borislav Petkov , Andy Lutomirski , Josh List-Id: virtualization@lists.linuxfoundation.org On 2020-03-04 11:19, Thomas Garnier wrote: >> >> The huge memory model, required for arbitrary placement, has a very >> significant performance impact. > > I assume you mean mcmodel=large, it doesn't use it. It uses -fPIE and > removes -mcmodel=kernel. It favors relative references whenever > possible. > I know... this was in reference to a comment of Kees'. -hpa