qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 11/10] tcg: comment on which functions have to b


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 11/10] tcg: comment on which functions have to be called with tb_lock held
Date: Thu, 13 Aug 2015 18:20:37 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0


On 13/08/2015 17:32, Peter Maydell wrote:
>> > TBs are physically-tagged so invalidates are not too frequent unless the
>> > guest does self-modifying code or swaps.  They shouldn't be a source of
>> > tb_lock contention except if you do SMC (not just dynamic recompilation:
>> > really self-modifying code).
> Do guests with writeable data and code in the same page also
> get treated as SMC for these purposes? (That's more common
> than real SMC.)

Not after a short while, when the code_bitmap kicks in.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]