[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC 03/10] cpus: Introduce async_wait_run_on_cpu()
From: |
Sergey Fedorov |
Subject: |
Re: [Qemu-devel] [RFC 03/10] cpus: Introduce async_wait_run_on_cpu() |
Date: |
Wed, 8 Jun 2016 17:53:54 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 |
On 08/06/16 17:10, alvise rigo wrote:
> Using run_on_cpu() we might deadlock QEMU if other vCPUs are waiting
> for the current vCPU. We need to exit from the vCPU loop in order to
> avoid this.
I see, we could deadlock indeed. Alternatively, we may want fix
run_on_cpu() to avoid waiting for completion by itself when called from
CPU loop.
Kind regards,
Sergey