I don't understand why the linker and kernel need to be involved? Why isn't storing the address of the thread-local memory in the register enough? That only needs to involve the compiler to know about the register and the runtime to set it. The article talks about needing the kernel to set a privileged register, but we've got tons of general purpose registers we could store the thread-local address in.