On Mon, 14 Jan 2008, Chris Curtis wrote:
> Okay, this may be a really stupid, naïve question... but rather than diving
> into asm-land here, why wouldn't we just write:
>> syscall(SYS_lwp_private, tcr)?
>> That's really all amd64_set_gsbase and arch_prctl do anyway, right?
>> --chris
Sure; this happens once per thread-creation, so it's not exactly
a bottleneck.