|
From: | Paolo Bonzini |
Subject: | Re: [PATCH v3 2/9] replay: notify vCPU when BH is scheduled |
Date: | Thu, 26 May 2022 14:10:34 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 |
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. Paolo
Moving the notification to aio_bh_enqueue.
[Prev in Thread] | Current Thread | [Next in Thread] |