[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 07/34] HACK: Always enable parallel_cpus
From: |
Alex Bennée |
Subject: |
Re: [Qemu-devel] [PATCH v3 07/34] HACK: Always enable parallel_cpus |
Date: |
Mon, 12 Sep 2016 15:20:30 +0100 |
User-agent: |
mu4e 0.9.17; emacs 25.1.12 |
Richard Henderson <address@hidden> writes:
> This is really just a placeholder for an actual
> command-line switch for mttcg.
> ---
> translate-all.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/translate-all.c b/translate-all.c
> index f97fc1e..d6d879c 100644
> --- a/translate-all.c
> +++ b/translate-all.c
> @@ -119,7 +119,7 @@ static void *l1_map[V_L1_SIZE];
>
> /* code generation context */
> TCGContext tcg_ctx;
> -bool parallel_cpus;
> +bool parallel_cpus = 1;
s/1/true/ but...
As mentioned on the previous version we can also skip parallel_cpus for
single threaded linux-user code. This will be easier once the async safe
work is merged so we can flip the flag and trigger a safe tb_flush()
once the linux-user guest does its first clone().
>
> /* translation block context */
> #ifdef CONFIG_USER_ONLY
--
Alex Bennée
- [Qemu-devel] [PATCH v3 00/34] cmpxchg-based emulation of atomics, Richard Henderson, 2016/09/03
- [Qemu-devel] [PATCH v3 01/34] atomics: add atomic_xor, Richard Henderson, 2016/09/03
- [Qemu-devel] [PATCH v3 05/34] int128: Add int128_make128, Richard Henderson, 2016/09/03
- [Qemu-devel] [PATCH v3 02/34] atomics: add atomic_op_fetch variants, Richard Henderson, 2016/09/03
- [Qemu-devel] [PATCH v3 06/34] tcg: Add EXCP_ATOMIC, Richard Henderson, 2016/09/03
- [Qemu-devel] [PATCH v3 07/34] HACK: Always enable parallel_cpus, Richard Henderson, 2016/09/03
- Re: [Qemu-devel] [PATCH v3 07/34] HACK: Always enable parallel_cpus,
Alex Bennée <=
- [Qemu-devel] [PATCH v3 11/34] cputlb: Move most of iotlb code out of line, Richard Henderson, 2016/09/03
- [Qemu-devel] [PATCH v3 04/34] int128: Use __int128 if available, Richard Henderson, 2016/09/03
- [Qemu-devel] [PATCH v3 09/34] cputlb: Move probe_write out of softmmu_template.h, Richard Henderson, 2016/09/03
- [Qemu-devel] [PATCH v3 12/34] cputlb: Tidy some macros, Richard Henderson, 2016/09/03
- [Qemu-devel] [PATCH v3 03/34] exec: Avoid direct references to Int128 parts, Richard Henderson, 2016/09/03