|
From: | Evgeny Voevodin |
Subject: | Re: [Qemu-devel] [PATCH v2] TCG: Convert global variables to be TLS. |
Date: | Tue, 28 Feb 2012 07:13:07 +0400 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 |
On 27.02.2012 16:35, Peter Maydell wrote:
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
I wanted to get some feedback and points to show up a direction to move in this field.
And qomification of translation caches is an interesting suggestion I think. -- Kind regards, Evgeny Voevodin, Leading Software Engineer, ASWG, Moscow R&D center, Samsung Electronics e-mail: address@hidden
[Prev in Thread] | Current Thread | [Next in Thread] |