qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2] TCG: Convert global variables to be TLS.


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH v2] TCG: Convert global variables to be TLS.
Date: Mon, 27 Feb 2012 12:35:15 +0000

On 27 February 2012 12:13, Evgeny Voevodin <address@hidden> wrote:
> This commit converts code_gen_buffer, code_gen_ptr, tbs, nb_tbs to
> TLS. We need this if we want TCG to become multithreaded.

I'm sceptical about doing this kind of thing as a change on its
own. A true multithreaded TCG is a large project, and unless we're
going to commit to doing that I don't see much value in making
some variables per-thread when we might instead need to do
larger refactorings (properly encapsulating the codegen
caches as qom objects, maybe?).

-- PMM



reply via email to

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