Skip to contentSkip to conversation

A question about TLS libraries in case of Xen integration in Linux

DISCUSSION Philippe Berthault 3 participants 3 messages Feb 21, 2006 – Feb 22, 2006

lore
Share & tools
lore
#0 lore raw

The current Xen hypervisor (v3.0.1) doesn't support TLS library.
In case of an hypothetical integration of Xen in Linux and also in distributions such as RHEL5, SuSE, etc... this restriction becomes unacceptable.

So my question is:
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 ?

Philippe Berthault.

#1 lore raw
Quoted 1 line · Philippe Berthault

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.

Quoted 2 lines

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.

Signature · 1 line
All Rights Reversed
#2 lore raw

Sorry if this was already replied to by someone...

Quoted 4 lines
Quoted 1 line

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.

Quoted 5 lines
Quoted 2 lines

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

Signature · 4 lines
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!