|
From: | Pavel Dovgalyuk |
Subject: | Re: [PATCH v3 2/9] replay: notify vCPU when BH is scheduled |
Date: | Fri, 27 May 2022 11:45:40 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 |
On 26.05.2022 15:10, Paolo Bonzini wrote:
On 5/26/22 11:51, Pavel Dovgalyuk wrote:At least aio_bh_schedule_oneshot_full should have the same effect, so should this be done at a lower level, in aio_bh_enqueue() or even aio_notify()?Not sure about aio_notify. It can operate with different contexts. Can some of them be not related to the VM state?All but the main AioContext one would have current_cpu == NULL.
aio_bh_enqueue is better. Moving this code to aio_notify breaks the tests.
[Prev in Thread] | Current Thread | [Next in Thread] |