|
From: | Jamie Lokier |
Subject: | Re: [Qemu-devel] Re: [PATCH v3] introduce on_vcpu |
Date: | Sat, 29 Aug 2009 02:22:27 +0100 |
User-agent: | Mutt/1.5.13 (2006-08-11) |
Anthony Liguori wrote: > Glauber Costa wrote: > Since we already keep the tid in the vcpu structure, it seems to make > more sense to ask "am I this vcpu thread" by doing gettid() == env->tid > than by maintaining a new global tls variable. Note that a tls variable will be much faster than gettid(). Don't know if you're talking about a hot path. -- Jamie
[Prev in Thread] | Current Thread | [Next in Thread] |