Re: [Qemu-devel] [PULL 11/24] tcg: enable thread-per-vCPU

2017-03-20 Thread Alex Bennée
Paolo Bonzini writes: > On 17/03/2017 21:43, Alex Bennée wrote: >> There is currently cpu->running which is set/cleared by >> cpu_exec_start/end. Although if we crash between cpu_exec_start and >> sigsetjmp the same sort of brokenness might happen. > > I think

Re: [Qemu-devel] [PULL 11/24] tcg: enable thread-per-vCPU

2017-03-20 Thread Paolo Bonzini
On 17/03/2017 21:43, Alex Bennée wrote: > There is currently cpu->running which is set/cleared by > cpu_exec_start/end. Although if we crash between cpu_exec_start and > sigsetjmp the same sort of brokenness might happen. I think cpu_exec_start/end should be moved into cpu_exec itself (but

Re: [Qemu-devel] [PULL 11/24] tcg: enable thread-per-vCPU

2017-03-18 Thread Laurent Vivier
Le 17/03/2017 à 21:43, Alex Bennée a écrit : > > Laurent Vivier writes: > >> Le 27/02/2017 à 15:38, Alex Bennée a écrit : >>> >>> Laurent Vivier writes: >>> Le 24/02/2017 à 12:20, Alex Bennée a écrit : > There are a couple of changes that occur at

Re: [Qemu-devel] [PULL 11/24] tcg: enable thread-per-vCPU

2017-03-17 Thread Alex Bennée
Laurent Vivier writes: > Le 27/02/2017 à 15:38, Alex Bennée a écrit : >> >> Laurent Vivier writes: >> >>> Le 24/02/2017 à 12:20, Alex Bennée a écrit : There are a couple of changes that occur at the same time here: - introduce a single

Re: [Qemu-devel] [PULL 11/24] tcg: enable thread-per-vCPU

2017-03-16 Thread Laurent Vivier
Le 16/03/2017 à 18:31, Alex Bennée a écrit : > > Laurent Vivier writes: > >> Le 27/02/2017 à 15:38, Alex Bennée a écrit : >>> >>> Laurent Vivier writes: >>> Le 24/02/2017 à 12:20, Alex Bennée a écrit : > There are a couple of changes that occur at

Re: [Qemu-devel] [PULL 11/24] tcg: enable thread-per-vCPU

2017-03-16 Thread Alex Bennée
Laurent Vivier writes: > Le 27/02/2017 à 15:38, Alex Bennée a écrit : >> >> Laurent Vivier writes: >> >>> Le 24/02/2017 à 12:20, Alex Bennée a écrit : There are a couple of changes that occur at the same time here: - introduce a single

Re: [Qemu-devel] [PULL 11/24] tcg: enable thread-per-vCPU

2017-03-13 Thread Laurent Vivier
Le 13/03/2017 à 17:58, Alex Bennée a écrit : > > Laurent Vivier writes: > >> Le 27/02/2017 à 15:38, Alex Bennée a écrit : >>> >>> Laurent Vivier writes: >>> Le 24/02/2017 à 12:20, Alex Bennée a écrit : > There are a couple of changes that occur at

Re: [Qemu-devel] [PULL 11/24] tcg: enable thread-per-vCPU

2017-03-13 Thread Alex Bennée
Laurent Vivier writes: > Le 27/02/2017 à 15:38, Alex Bennée a écrit : >> >> Laurent Vivier writes: >> >>> Le 24/02/2017 à 12:20, Alex Bennée a écrit : There are a couple of changes that occur at the same time here: - introduce a single

Re: [Qemu-devel] [PULL 11/24] tcg: enable thread-per-vCPU

2017-03-13 Thread Laurent Vivier
Le 27/02/2017 à 15:38, Alex Bennée a écrit : > > Laurent Vivier writes: > >> Le 24/02/2017 à 12:20, Alex Bennée a écrit : >>> There are a couple of changes that occur at the same time here: >>> >>> - introduce a single vCPU qemu_tcg_cpu_thread_fn >>> >>> One of these is

Re: [Qemu-devel] [PULL 11/24] tcg: enable thread-per-vCPU

2017-02-27 Thread Alex Bennée
Laurent Vivier writes: > Le 24/02/2017 à 12:20, Alex Bennée a écrit : >> There are a couple of changes that occur at the same time here: >> >> - introduce a single vCPU qemu_tcg_cpu_thread_fn >> >> One of these is spawned per vCPU with its own Thread and Condition >>

Re: [Qemu-devel] [PULL 11/24] tcg: enable thread-per-vCPU

2017-02-27 Thread Laurent Vivier
Le 24/02/2017 à 12:20, Alex Bennée a écrit : > There are a couple of changes that occur at the same time here: > > - introduce a single vCPU qemu_tcg_cpu_thread_fn > > One of these is spawned per vCPU with its own Thread and Condition > variables. qemu_tcg_rr_cpu_thread_fn is the new name

[Qemu-devel] [PULL 11/24] tcg: enable thread-per-vCPU

2017-02-24 Thread Alex Bennée
There are a couple of changes that occur at the same time here: - introduce a single vCPU qemu_tcg_cpu_thread_fn One of these is spawned per vCPU with its own Thread and Condition variables. qemu_tcg_rr_cpu_thread_fn is the new name for the old single threaded function. - the TLS