From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754777AbaCMSWN (ORCPT ); Thu, 13 Mar 2014 14:22:13 -0400 Received: from terminus.zytor.com ([198.137.202.10]:41456 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754122AbaCMSWM (ORCPT ); Thu, 13 Mar 2014 14:22:12 -0400 Message-ID: <5321F72E.7030109@zytor.com> Date: Thu, 13 Mar 2014 11:21:34 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Andy Lutomirski CC: Stefani Seibold , Greg KH , "linux-kernel@vger.kernel.org" , X86 ML , Thomas Gleixner , Ingo Molnar , Andi Kleen , Andrea Arcangeli , John Stultz , Pavel Emelyanov , Cyrill Gorcunov , andriy.shevchenko@linux.intel.com, Martin Runge , Andreas Brief , Linus Torvalds Subject: Re: [PATCH 3/3] x86, vdso32: handle 32 bit vDSO larger one page References: <1394664680-17799-1-git-send-email-stefani@seibold.net> <1394664680-17799-4-git-send-email-stefani@seibold.net> <5320E689.7060607@zytor.com> <5321D45C.7040504@zytor.com> <5321F418.1030304@zytor.com> In-Reply-To: <5321F418.1030304@zytor.com> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/13/2014 11:08 AM, H. Peter Anvin wrote: > On 03/13/2014 10:28 AM, Andy Lutomirski wrote: >> >> Does this mean you prefer the relocation approach to the compat vdso >> removal approach? It seems like Linus is okay with either one. >> > > Actually, thinking about it, removing it is probably better: > > a) gets rid of legacy code, making room for unification; > b) either way enabling compat support (either relocation or disabling > the vdso) has a performance penalty for *all* processes. > > The only way to avoid that is to have a vdso at a fixed addresses across > all processes, either in the fixmap or in the user area (presumably at > the very top.) > So going back and re-reading all the threads, the consensus was to remove the compat vdso, but recycling the CONFIG_COMPAT_VDSO configuration option name for the default-disable option. It is important that anyone who actually cares about performance unsets the option. -hpa