[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: |
Sergey Fedorov |
Subject: |
Re: [Qemu-devel] [RFC v2 11/11] tcg: enable thread-per-vCPU |
Date: |
Fri, 27 May 2016 18:07:03 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 |
On 27/05/16 17:55, Paolo Bonzini wrote:
>
> 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. :)
Hmm, 2/3 do also change single-threaded CPU loop. I think they should
apply separately from 7.
Thanks,
Sergey