WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] A question about TLS libraries in case of Xen integratio

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] A question about TLS libraries in case of Xen integration in Linux
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Wed, 22 Feb 2006 14:09:25 +0000
Cc: Philippe Berthault <Philippe.Berthault@xxxxxxxx>
Delivery-date: Wed, 22 Feb 2006 14:26:52 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <Pine.LNX.4.63.0602211158210.9052@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <43FB34F4.7010808@xxxxxxxx> <Pine.LNX.4.63.0602211158210.9052@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.1
Sorry if this was already replied to by someone...

> > The current Xen hypervisor (v3.0.1) doesn't support TLS library.
>
> Are you sure?  ISTR it just flipping the segment on every fault,
> and incurring a slowdown.

Yep.

> > There is a plan to support TLS library in the future or there is a plan
> > to integrate a Xen compatible TLS library in Linux ?
>
> Fedora Core 4 and 5 have such a glibc variant.  Other distributions
> may have it too.

Fedora's glibc switches off the TLS negative segment accesses (and uses 
conventional accesses) when running on Xen.  SuSE's glibc variant just 
doesn't implement TLS accesses using negative segment offsets on any system, 
so it also supports Xen just fine. [the SuSE guys don't think using negative 
segment offsets gives a significant performance increase for them, so they 
chose to avoid the inconvenience entirely]

On 64-bit systems, the TLS implementations used by Linux are a non-issue 
anyhow.

Cheers,
Mark

-- 
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>