Re: i386 PDA patches use of %gs

From: Jeremy Fitzhardinge
Date: Wed Nov 15 2006 - 13:49:32 EST


Ingo Molnar wrote:
> but it does not actually use the 'normal usermode TLS selector' - it
> only loads it.
>
> a meaningful test would be to allocate two selector values and load and
> read+write memory through both of them.
>

Well, obviously in one case it would need to switch between
null/non-null/null. But yes, good point about using the "usermode" %gs
each iteration. I'll do some more tests.

J
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/