From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752520AbaCLXGs (ORCPT ); Wed, 12 Mar 2014 19:06:48 -0400 Received: from [143.182.124.21] ([143.182.124.21]:36117 "EHLO mga03.intel.com" rhost-flags-FAIL-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752090AbaCLXGr (ORCPT ); Wed, 12 Mar 2014 19:06:47 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,641,1389772800"; d="scan'208";a="490844858" Message-ID: <5320E885.1080402@linux.intel.com> Date: Wed, 12 Mar 2014 16:06:45 -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 , Linus Torvalds CC: Stefani Seibold , "linux-kernel@vger.kernel.org" , the arch/x86 maintainers , Dave Jones , Martin Runge , Andreas Brief , Greg Kroah-Hartman Subject: Re: [PATCH v2] x86: Remove compat vdso support References: <531F365B.4060000@linux.intel.com> <531F3D02.30706@linux.intel.com> <1394613046.995.51.camel@wall-e.seibold.net> <5320D3AB.5060002@linux.intel.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/12/2014 02:49 PM, Andy Lutomirski wrote: > On Wed, Mar 12, 2014 at 2:46 PM, Linus Torvalds > wrote: >> On Wed, Mar 12, 2014 at 2:37 PM, H. Peter Anvin wrote: >>> >>> How would that deal with the legacy vsyscall case for x86-64? Just rely >>> on the "legacy vsyscall emulation" (which seems to have its own class of >>> problems...)? >> >> It does? >> >> We *default* to emulation, and have for over two years now (since >> v3.4). If there are problems with it, we need to fix those. > > Even in the non-default "vsyscall=native" case, the vsyscall pages > just contains syscalls. It does not need to access the vvar page, the > hpet, or anything else that the vdso uses. > Ah, right. I let that detail slip the mind. I do hear vsyscall=native still being used as a workaround for problems, but yes, just making it call the kernel is fine, of course. So yes, this does make it all better. -hpa