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: Frederic Konrad
Subject: Re: [Qemu-devel] [RFC PATCH V7 16/19] translate-all: introduces tb_flush_safe.
Date: Wed, 12 Aug 2015 16:11:17 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

On 12/08/2015 16:09, Paolo Bonzini wrote:

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
Depending the size of the code buffer this might be a good idea. :).

Fred



reply via email to

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