Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751389AbXBMWpp (ORCPT ); Tue, 13 Feb 2007 17:45:45 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751390AbXBMWpp (ORCPT ); Tue, 13 Feb 2007 17:45:45 -0500 Received: from smtp-outbound-1.vmware.com ([65.113.40.141]:59033 "EHLO smtp-outbound-1.vmware.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751389AbXBMWpo (ORCPT ); Tue, 13 Feb 2007 17:45:44 -0500 Message-ID: <45D23F97.5040907@vmware.com> Date: Tue, 13 Feb 2007 14:45:43 -0800 From: Zachary Amsden User-Agent: Thunderbird 1.5.0.9 (X11/20061206) MIME-Version: 1.0 To: Jeremy Fitzhardinge CC: Andi Kleen , Andrew Morton , linux-kernel@vger.kernel.org, virtualization@lists.osdl.org, xen-devel@lists.xensource.com, Chris Wright , Ian Pratt , Christian Limpach Subject: Re: [patch 13/21] Xen-paravirt: Add nosegneg capability to the vsyscall page notes References: <20070213221729.772002682@goop.org> <20070213221830.466651996@goop.org> In-Reply-To: <20070213221830.466651996@goop.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 936 Lines: 20 Jeremy Fitzhardinge wrote: > Add the "nosegneg" fake capabilty to the vsyscall page notes. This is > used by the runtime linker to select a glibc version which then > disables negative-offset accesses to the thread-local segment via > %gs. These accesses require emulation in Xen (because segments are > truncated to protect the hypervisor address space) and avoiding them > provides a measurable performance boost. > I don't like this because now a kernel compiled with both CONFIG_XEN and CONFIG_VMI has "nosegneg" turned on. We don't actually require this for performance or correctness, so it would be nice to be able to dynamically turn it off instead of having it forced. Zach - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/