On 06/03/2016 01:40 PM, Alex Bennée wrote:
From: KONRAD Frederic <fred.kon...@greensocs.com>

This protects TBContext with tb_lock to make tb_* thread safe.

We can still have issue with tb_flush in case of multithread TCG:
another CPU can be executing code during a flush.

This can be fixed later by making all other TCG thread exiting before calling
tb_flush().

Signed-off-by: KONRAD Frederic <fred.kon...@greensocs.com>
Message-Id: <1439220437-23957-8-git-send-email-fred.kon...@greensocs.com>
Signed-off-by: Emilio G. Cota <c...@braap.org>
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>
[AJB: moved into tree, clean-up history]
Signed-off-by: Alex Bennée <alex.ben...@linaro.org>

---

Reviewed-by: Richard Henderson <r...@twiddle.net>


r~

Reply via email to