qemu-devel
[Top][All Lists]
Advanced

[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



reply via email to

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