qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Thread local TCGContext.


From: Paolo Bonzini
Subject: Re: [Qemu-devel] Thread local TCGContext.
Date: Wed, 28 Jan 2015 16:17:16 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0


On 28/01/2015 16:04, Frederic Konrad wrote:
> 
> 
>  /* code generation context */
> -TCGContext tcg_ctx;
> +__thread TCGContext tcg_ctx;
> 
> But the big problem is the initialisation, it's done only onetime in the
> iothread with
> the accelerator..

You need to move it to qemu_tcg_cpu_thread_fn.

Paolo



reply via email to

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