On 21/07/16 14:25, Paolo Bonzini wrote:
>
> - Original Message -
>> From: "Sergey Fedorov"
>> To: "Paolo Bonzini"
>> Cc: qemu-devel@nongnu.org, "sergey fedorov" ,
>> "alex bennee"
>> Sent: Thursday, July 21, 2016 10:36:35 AM
>> Subject: Re: [PATCH 05/10] tcg: Prepare TB invalidation for
- Original Message -
> From: "Sergey Fedorov"
> To: "Paolo Bonzini"
> Cc: qemu-devel@nongnu.org, "sergey fedorov" ,
> "alex bennee"
> Sent: Thursday, July 21, 2016 10:36:35 AM
> Subject: Re: [PATCH 05/10] tcg: Prepare TB invalidation for lockless TB lookup
>
> On 20/07/16 01:27, Paol
On 21/07/2016 10:36, Sergey Fedorov wrote:
> On 20/07/16 01:27, Paolo Bonzini wrote:
>>
>> - Original Message -
>>> From: "Sergey Fedorov"
>>> To: "Paolo Bonzini" , qemu-devel@nongnu.org
>>> Cc: "sergey fedorov" , "alex bennee"
>>>
>>> Sent: Tuesday, July 19, 2016 9:56:49 PM
>>> Subjec
On 20/07/16 01:27, Paolo Bonzini wrote:
>
> - Original Message -
>> From: "Sergey Fedorov"
>> To: "Paolo Bonzini" , qemu-devel@nongnu.org
>> Cc: "sergey fedorov" , "alex bennee"
>>
>> Sent: Tuesday, July 19, 2016 9:56:49 PM
>> Subject: Re: [PATCH 05/10] tcg: Prepare TB invalidation for l
- Original Message -
> From: "Sergey Fedorov"
> To: "Paolo Bonzini" , qemu-devel@nongnu.org
> Cc: "sergey fedorov" , "alex bennee"
>
> Sent: Tuesday, July 19, 2016 9:56:49 PM
> Subject: Re: [PATCH 05/10] tcg: Prepare TB invalidation for lockless TB lookup
>
> On 19/07/16 11:32, Paolo
On 19/07/16 11:32, Paolo Bonzini wrote:
>
It looks much better now :)
> When invalidating a translation block, set an invalid flag into the
> TranslationBlock structure first. It is also necessary to check whether
> the target TB is still valid after acquiring 'tb_lock' but before calling
> tb_a
When invalidating a translation block, set an invalid flag into the
TranslationBlock structure first. It is also necessary to check whether
the target TB is still valid after acquiring 'tb_lock' but before calling
tb_add_jump() since TB lookup is to be performed out of 'tb_lock' in
future. Note th