Re: FOR REVIEW: New x86-64 vsyscall vgetcpu()

From: Jakub Jelinek <jakub_at_redhat.com>
Date: 2006-06-17 02:33:15
On Fri, Jun 16, 2006 at 06:24:52PM +0200, Andi Kleen wrote:
> I wonder why it happened on x86-64 though - i thought there were no negative
> offsets on x86-64 TLS.

It uses negative offsets for __thread vars and positive are reserved for
implementation (i.e. glibc).  But as %fs in 64-bit programs is just
msr 0xc0000100 base addition, with no segment limit, neither Xen nor VMWare
can play limit tricks with it.

	Jakub
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Sat Jun 17 02:34:08 2006

This archive was generated by hypermail 2.1.8 : 2006-06-17 02:34:17 EST