From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751603AbdHONmp (ORCPT ); Tue, 15 Aug 2017 09:42:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56912 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751031AbdHONmo (ORCPT ); Tue, 15 Aug 2017 09:42:44 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 162A5D7A5A Authentication-Results: ext-mx10.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx10.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=riel@redhat.com Message-ID: <1502804557.6577.61.camel@redhat.com> Subject: Re: [kernel-hardening] Re: x86: PIE support and option to extend KASLR randomization From: Rik van Riel To: Jordan Glover , Ingo Molnar Cc: Thomas Garnier , Herbert Xu , Peter Zijlstra , Arnd Bergmann , Tom Lendacky , Andy Lutomirski , Len Brown , Pavel Machek , Tejun Heo , Christoph Lameter , Chris Metcalf , Markus Trippelsdorf , Kees Cook , David Howells , Waiman Long , Peter Foley , Tim Chen , Ard Biesheuvel , Michal Hocko , "H . J . Lu" , Daniel Micay , LKML , Kernel Hardening Date: Tue, 15 Aug 2017 09:42:37 -0400 In-Reply-To: References: <20170810172615.51965-1-thgarnie@google.com> <20170811124127.kkb5pnkljz4umxuj@gmail.com> <20170815075609.mmzbfwritjzvrpsn@gmail.com> Organization: Red Hat, Inc Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Tue, 15 Aug 2017 13:42:43 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2017-08-15 at 08:15 -0400, Jordan Glover wrote: > Hello, > I write to put different perspective into the topic. I'm glad that > kernel developers care about performance optimizations and I see how > 10% overhead can be a problem for some. On the other hand last ten > years gave us 1000% faster hardware which trumps anything software > can do. For many users like us performance isn't a problem, we have > plenty of it and if we haven't we can buy it. It can be money > problem, not software engineering problem. CPUs stopped getting faster at a dramatic rate, though, while network cards continue to get faster. In some areas, the kernel is more squeezed for CPU cycles today than it has ever been before. Ingo is suggesting that the security enhancement be implemented in a way that doesn't come with a 10% performance gain. There are other ways to relocate a kernel than with PIE.