qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC PATCH V7 16/19] translate-all: introduces tb_flush


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [RFC PATCH V7 16/19] translate-all: introduces tb_flush_safe.
Date: Wed, 12 Aug 2015 16:09:03 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0


On 10/08/2015 17:27, address@hidden wrote:
> From: KONRAD Frederic <address@hidden>
> 
> tb_flush is not thread safe we definitely need to exit VCPUs to do that.
> This introduces tb_flush_safe which just creates an async safe work which will
> do a tb_flush later.
> 
> Signed-off-by: KONRAD Frederic <address@hidden>

You could also allocate a new code buffer and free the old one with
call_rcu.  This should simplify things a lot.

Paolo



reply via email to

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