[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC v2 11/11] tcg: enable thread-per-vCPU
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [RFC v2 11/11] tcg: enable thread-per-vCPU |
Date: |
Fri, 27 May 2016 16:55:02 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 |
On 27/05/2016 15:57, Sergey Fedorov wrote:
> 1. Make 'cpu->thread_kicked' access atomic
> 2. Remove global 'exit_request' and use per-CPU 'exit_request'
> 3. Change how 'current_cpu' is set
> 4. Reorganize round-robin CPU TCG thread function
> 5. Enable 'mmap_lock' for system mode emulation (do we really want this?)
No, I don't think so.
> 6. Enable 'tb_lock' for system mode emulation
> 7. Introduce per-CPU TCG thread function
At least 2/3/7 must be done at the same time, but I agree that this
patch could use some splitting. :)
Thanks,
Paolo