[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Xen and TLS, -mno-tls-direct-seg-refs needed?



On Thursday 10 August 2006 5:26 pm, Sven KÃhler wrote:
> On 32-bit platforms?
>
> Does it mean, that i don't need to use that "-mno-tls-direct-seg-refs"
> on 64-Bit platforms?

right.  the problem is that on 32bit x86 NPTL uses a weird trick to store TLS 
on negative segment references.  in other platforms that trick isn't used, 
and there's no problem with Xen.

the "-mno-tls-direct-seg-refs" flag turns off the trick for 32bit x86, so it's 
forced to use a saner approach.  in theory it's slower than the default way, 
but much faster than being emulated by Xen

-- 
Javier

Attachment: pgpna1GSaPlU3.pgp
Description: PGP signature

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.