linuxolator: tls_test results amd64
Divacky Roman
xdivac02 at stud.fit.vutbr.cz
Tue Jan 23 21:24:39 UTC 2007
> I was little quiet yesterday because I wasn't sure. But I have more
> evidence now. First of all, wrmsr(MSR_KGSBASE, ...) must be
> protected with 'if (td == curthread)' just as cpu_set_user_tls()
this is not true... in set_thread_area td is curthread all the time
and in clone its never true... so the condition becomes constant.
(i386 is exactly the same case)
feel free to prove me wrong :)
More information about the freebsd-emulation
mailing list