On 07/07/2015 12:22, Paolo Bonzini wrote:

On 07/07/2015 12:15, Alex Bennée wrote:
Why are the locking rules different for CONFIG_USER versus system
emulation? Looking at the final tree:

                  tb = tb_find_fast(env);
this eventually ends up doing a tb_lock on the find_slow path which IIRC
is when might end up doing the actual code generation.

Up to this point, system emulation is using the BQL for everything.  I
guess things change later.

Paolo
Actually we use tb_lock to protect all the tb related structure such as TBContext
etc.. Is it better to use the global lock for this?

Fred

Reply via email to