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

2012-02-27 Thread Evgeny Voevodin
On 27.02.2012 15:06, Evgeny Voevodin wrote: This patch converts some TCG data to be TLS on the way to make TCG multithreaded. This work was made in assumption that qemu-tls.h defines a general direction to let each VCPU run in its own thread wile being processed by TCG. Evgeny Voevodin (1):

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

2012-02-27 Thread Evgeny Voevodin
This commit converts code_gen_buffer, code_gen_ptr, tbs, nb_tbs to TLS. We need this if we want TCG to become multithreaded. Initialization of code_gen_buffer and code_gen_ptr is moved to new tcg_gen_buffer_init() function. This is done because we do not need to allocate and initialize TCG buffers

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

2012-02-27 Thread Evgeny Voevodin
I suggest to send this patch to mailing list. Approve? This patch converts some TCG data to be TLS on the way to make TCG multithreaded. This work was made in assumption that qemu-tls.h defines a general direction to let each VCPU run in its own thread wile being processed by TCG. Evgeny Voevodi