Re: [virtio-dev] [PATCH v2 1/2] virtio-balloon: tweak config_changed implementation

From: Halil Pasic
Date: Fri Jan 04 2019 - 06:26:38 EST


On Fri, 4 Jan 2019 15:11:52 +0800
Wei Wang <wei.w.wang@xxxxxxxxx> wrote:

> virtio-ccw has deadlock issues with reading the config space inside the
> interrupt context, so we tweak the virtballoon_changed implementation
> by moving the config read operations into the related workqueue contexts.
> The config_read_bitmap is used as a flag to the workqueue callbacks
> about the related config fields that need to be read.
>
> Reported-by: Christian Borntraeger <borntraeger@xxxxxxxxxx>
> Signed-off-by: Wei Wang <wei.w.wang@xxxxxxxxx>

Reviewed-by: Halil Pasic <pasic@xxxxxxxxxxxxx>