Re: [Qemu-devel] [RFC 00/38] MTTCG: i386, user+system mode

2015-08-25 Thread Emilio G. Cota
On Sun, Aug 23, 2015 at 19:01:28 -0700, Paolo Bonzini wrote: > > * tb_flush: do it once all other CPUs have been put to sleep by calling > > rcu_synchronize(). > > We also instrument tb_lock to make sure that only one tb_flush request > > can > > happen at a given time. > > What do

Re: [Qemu-devel] [RFC 00/38] MTTCG: i386, user+system mode

2015-08-24 Thread Emilio G. Cota
On Mon, Aug 24, 2015 at 18:08:37 +0200, Artyom Tarasenko wrote: > On Mon, Aug 24, 2015 at 2:23 AM, Emilio G. Cota wrote: > > * tb_lock must be held every time code is generated. The rationale is > > that most of the time QEMU is executing code, not generating it. > > While this is indeed tr

Re: [Qemu-devel] [RFC 00/38] MTTCG: i386, user+system mode

2015-08-24 Thread Artyom Tarasenko
On Mon, Aug 24, 2015 at 2:23 AM, Emilio G. Cota wrote: > Hi all, > > Here is MTTCG code I've been working on out-of-tree for the last few months. > > The patchset applies on top of pbonzini's mttcg branch, commit ca56de6f. > Fetch the branch from: https://github.com/bonzini/qemu/commits/mttcg > >

Re: [Qemu-devel] [RFC 00/38] MTTCG: i386, user+system mode

2015-08-24 Thread Paolo Bonzini
On 23/08/2015 17:23, Emilio G. Cota wrote: > Hi all, > > Here is MTTCG code I've been working on out-of-tree for the last few months. > > The patchset applies on top of pbonzini's mttcg branch, commit ca56de6f. > Fetch the branch from: https://github.com/bonzini/qemu/commits/mttcg > > The high

[Qemu-devel] [RFC 00/38] MTTCG: i386, user+system mode

2015-08-24 Thread Emilio G. Cota
Hi all, Here is MTTCG code I've been working on out-of-tree for the last few months. The patchset applies on top of pbonzini's mttcg branch, commit ca56de6f. Fetch the branch from: https://github.com/bonzini/qemu/commits/mttcg The highlights of the patchset are as follows: - The first 5 patches