|
From: | Evgeny Voevodin |
Subject: | Re: [Qemu-devel] [PATCH] TCG: Convert global variables to be TLS. |
Date: | Mon, 27 Feb 2012 15:43:53 +0400 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 |
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): TCG: Convert global variables to be TLS. bsd-user/main.c | 1 + cpus.c | 2 + darwin-user/main.c | 1 + exec.c | 121 ++++++++++++++++++++++++++++++--------------------- linux-user/main.c | 1 + qemu-common.h | 1 + 6 files changed, 77 insertions(+), 50 deletions(-)
Just realised that the patch is buggy and does not work for -smp 1. Anyway, it is useful to get any suggestions on the general approach.
-- 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] |