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: e.voevo...@samsung.com