On 09/07/2017 09:50, Emilio G. Cota wrote: > User-mode is kept out of this: contention due to concurrent translation > is more commonly found in full-system mode.
Out of curiosity, is it harder or you just didn't try? It would be nice if the commit message mentioned the problems (if any) in addition to the reason why you didn't do it. Having similar policies for user and softmmu emulation is much more maintainable (for an earlier example, see the unification of user mode emulation's start/end_exclusive logic with softmmu's "safe work"). Paolo