qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 2/3] accel/tcg: split tcg_start_vcpu_thread


From: Richard Henderson
Subject: Re: [PATCH v2 2/3] accel/tcg: split tcg_start_vcpu_thread
Date: Wed, 14 Oct 2020 13:08:34 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 10/14/20 12:23 PM, Claudio Fontana wrote:
> +++ b/accel/tcg/tcg-cpus-mttcg.h
> @@ -10,14 +10,4 @@
>  #ifndef TCG_CPUS_MTTCG_H
>  #define TCG_CPUS_MTTCG_H
>  
> -/*
> - * Multi-threaded TCG
> - *
> - * In the multi-threaded case each vCPU has its own thread. The TLS
> - * variable current_cpu can be used deep in the code to find the
> - * current CPUState for a given thread.
> - */
> -
> -void *tcg_cpu_thread_fn(void *arg);
> -
>  #endif /* TCG_CPUS_MTTCG_H */

Hum.  Do we really need to create these headers in the previous patch?  Because
now we have an empty one.

Why not just put all of tcg-cpus-*.h into tcg-cpus.h?

Otherwise this looks ok.


r~



reply via email to

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