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] xen and tls (fwd)

To: "Ronald G. Minnich" <rminnich@xxxxxxxx>, "Himanshu Raj" <rhim@xxxxxxxxxxxxx>
Subject: RE: [Xen-devel] xen and tls (fwd)
From: "Barry Silverman" <barry@xxxxxxxxx>
Date: Mon, 14 Feb 2005 12:07:36 -0500
Cc: <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 14 Feb 2005 17:06:32 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
Importance: Normal
In-reply-to: <Pine.LNX.4.58.0502140952400.10141@xxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
As I recall, tls maps negative offsets >0xFF000000 (from segment registers
FS, GS) into the kernel address space (IE >0xa8000000), and this conflicts
with xen's virtual address mapping.

Xen lives mapped into high virtual memory but inaccessible to the guest
kernels - however the whole guest kernel address space is accessible to xen.

Keir Fraser developed an instruction emulator/code patcher in the page fault
code that detected these large offsets from FS/GS, and then fixed them up...

I recall that the emulator ended up getting called way for often than anyone
wanted and ran slowly. The "not-to-use" TLS recommendation followed from
that.

Barry Silverman

-----Original Message-----
From: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
[mailto:xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx]On Behalf Of Ronald G.
Minnich
Sent: Monday, February 14, 2005 11:53 AM
To: Himanshu Raj
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] xen and tls (fwd)




On Mon, 14 Feb 2005, Himanshu Raj wrote:

> I believe it is due to the use of both +ve and -ve offsets by TLS. It
becomes
> a nightmare to manage it with segmentation, and system has to emulate -ve
> offsets by converting to +ve ones etc. I am still learning more on this.

I vaguely remember this discussion, I just wish I could remember more.

ron


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

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