Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2007 22:24:36 +0100
From:      Divacky Roman <xdivac02@stud.fit.vutbr.cz>
To:        Jung-uk Kim <jkim@FreeBSD.org>
Cc:        freebsd-emulation@FreeBSD.org
Subject:   Re: linuxolator: tls_test results amd64
Message-ID:  <20070123212436.GA23722@stud.fit.vutbr.cz>
In-Reply-To: <200701231400.46367.jkim@FreeBSD.org>
References:  <790a9fff0701211041j1176d00gd6dd75d0989cf4ec@mail.gmail.com> <20070122212624.GA49466@stud.fit.vutbr.cz> <200701230101.51580.tijl@ulyssis.org> <200701231400.46367.jkim@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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 :)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070123212436.GA23722>