On 10/20/10, Bernhard Schmidt wrote:
> 9, 2010 at 23:53, Paul B Mahol wrote:
>> Hi,
>>
>> First: we should pin curthread on CPU before we check on which CPU is
>> curthread.
>>
>> Second: instead of sti & cli use critical sections when saving %fs
>> register.
>>
>> Third: I do not know what happe
9, 2010 at 23:53, Paul B Mahol wrote:
> Hi,
>
> First: we should pin curthread on CPU before we check on which CPU is
> curthread.
>
> Second: instead of sti & cli use critical sections when saving %fs register.
>
> Third: I do not know what happens if we get preempted while windows
> code were r
Hi,
First: we should pin curthread on CPU before we check on which CPU is curthread.
Second: instead of sti & cli use critical sections when saving %fs register.
Third: I do not know what happens if we get preempted while windows
code were running,
so leave critical section only _after_ executin