|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH] Make cpu_single_env thread local (Linux only for now) |
Date: | Sat, 08 Oct 2011 15:41:58 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:6.0.2) Gecko/20110906 Thunderbird/6.0.2 |
On 10/07/2011 07:29 PM, David Gilbert wrote:
Hmm this got a bit more complex than the original patch; still it covers a lot more bases. Should this also replace the THREAD that's defined in linux-user/qemu.h and bsd-user/qemu.h (that is __thread if built with NPTL)? It seems to only be there for 'thread_env' which is also a CPUState* (hmm - what state does that contain that cpu_single_env doesn't?)
Yes, I wouldn't be surprised if thread_env can just go. That would be a separate cleanup, however.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |