Re: [Qemu-devel] [RFC v3 15/19] tcg: drop global lock during TCG code execution

2016-08-10 Thread Alex Bennée
Sergey Fedorov writes: > On 03/06/16 23:40, Alex Bennée wrote: >> > > From: Jan Kiszka > > (See http://thread.gmane.org/gmane.comp.emulators.qemu/402092/focus=403090) > >> This finally allows TCG to benefit from the iothread introduction: Drop >> the global mutex while running pure TCG CPU code

Re: [Qemu-devel] [RFC v3 15/19] tcg: drop global lock during TCG code execution

2016-06-28 Thread Sergey Fedorov
On 03/06/16 23:40, Alex Bennée wrote: > From: Jan Kiszka (See http://thread.gmane.org/gmane.comp.emulators.qemu/402092/focus=403090) > This finally allows TCG to benefit from the iothread introduction: Drop > the global mutex while running pure TCG CPU code. Reacquire the lock > when entering M

[Qemu-devel] [RFC v3 15/19] tcg: drop global lock during TCG code execution

2016-06-03 Thread Alex Bennée
This finally allows TCG to benefit from the iothread introduction: Drop the global mutex while running pure TCG CPU code. Reacquire the lock when entering MMIO or PIO emulation, or when leaving the TCG loop. We have to revert a few optimization for the current TCG threading model, namely kicking t