[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v10 1/7] exec: [tcg] Refactor flush of per-CPU v
From: |
Emilio G. Cota |
Subject: |
Re: [Qemu-devel] [PATCH v10 1/7] exec: [tcg] Refactor flush of per-CPU virtual TB cache |
Date: |
Thu, 29 Jun 2017 18:22:10 -0400 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
On Thu, Jun 29, 2017 at 15:17:32 +0300, Lluís Vilanova wrote:
> The function is reused in later patches.
>
> Signed-off-by: Lluís Vilanova <address@hidden>
> Reviewed-by: Richard Henderson <address@hidden>
> ---
> accel/tcg/cputlb.c | 2 +-
> accel/tcg/translate-all.c | 15 ++++++++++-----
> include/exec/exec-all.h | 6 ++++++
> 3 files changed, 17 insertions(+), 6 deletions(-)
Richard already picked up this patch:
tcg: consistently access cpu->tb_jmp_cache atomically
https://patchwork.kernel.org/patch/9787697/
The patch you're sending (i.e. 1/7) is a subset of that one,
so the easiest solution probably is to drop it, making sure that:
- patch 4/7 is updated to call cpu_tb_jmp_cache_clear instead of
tb_flush_jmp_cache_all
- This series is merged after that other patch is merged. If
Richard also queues then we'll be guaranteed to avoid a merge
conflict.
E.
- [Qemu-devel] [PATCH v10 0/7] trace: [tcg] Optimize per-vCPU tracing states with separate TB caches, Lluís Vilanova, 2017/06/29
- [Qemu-devel] [PATCH v10 1/7] exec: [tcg] Refactor flush of per-CPU virtual TB cache, Lluís Vilanova, 2017/06/29
- Re: [Qemu-devel] [PATCH v10 1/7] exec: [tcg] Refactor flush of per-CPU virtual TB cache,
Emilio G. Cota <=
- [Qemu-devel] [PATCH v10 2/7] trace: Allocate cpu->trace_dstate in place, Lluís Vilanova, 2017/06/29
- [Qemu-devel] [PATCH v10 3/7] trace: [tcg] Delay changes to dynamic state when translating, Lluís Vilanova, 2017/06/29
- [Qemu-devel] [PATCH v10 4/7] exec: [tcg] Use different TBs according to the vCPU's dynamic tracing state, Lluís Vilanova, 2017/06/29
- [Qemu-devel] [PATCH v10 5/7] trace: [tcg] Do not generate TCG code to trace dynamically-disabled events, Lluís Vilanova, 2017/06/29
- [Qemu-devel] [PATCH v10 6/7] trace: [tcg, trivial] Re-align generated code, Lluís Vilanova, 2017/06/29
- [Qemu-devel] [PATCH v10 7/7] trace: [trivial] Statically enable all guest events, Lluís Vilanova, 2017/06/29