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-users

Re: [Xen-users] 64bit dom0, 32bit domU, glibc?

To: Nico Kadel-Garcia <nkadel@xxxxxxxxx>
Subject: Re: [Xen-users] 64bit dom0, 32bit domU, glibc?
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Thu, 23 Aug 2007 18:42:05 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx, Joseph Smith <smithj@xxxxxxxxx>
Delivery-date: Thu, 23 Aug 2007 10:42:57 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <46CD04F9.6080608@xxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <200708211602.23885.smithj@xxxxxxxxx> <200708220323.50441.mark.williamson@xxxxxxxxxxxx> <46CD04F9.6080608@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.6
> > The TLS refs problem happened because 32-bit Xen and glibc both want to
> > do crazy things with the processor's segmentation hardware.  32-bit Xen
> > needs the segmentation for its own protection.
> >
> > 64-bit Xen doesn't protect itself using segmentation, so it's not
> > necessary to do anything to prevent a conflict with glibc.
>
> That old problem also seemed to involve the libraries in /lib/tls. It
> was easy to just move them aside to /lib/tls.old, and current versions
> of RedHat kernels drop a little file called "kernelcap" in
> /etc/ld.so.conf.d/ that helps prevent the use of those libraries.

Yes, recent Xen-friendly distributions don't need the TLS libraries to be 
manually disabled because they handle it themselves in an appropriate way - 
even on 32-bit Xen.

But this isn't necessary on 64-bit, so glibc is free to use segments in funny 
ways (which I think is intended to produce a performance benefit, but from 
what I've heard it's doubtful whether you'll actually notice it).

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-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

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