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

From: Halil Pasic
Date: Thu Jan 03 2019 - 07:19:25 EST


On Thu, 3 Jan 2019 13:31:01 +0800
Wei Wang <wei.w.wang@xxxxxxxxx> wrote:

> virtio-ccw has deadlock issues with reading config registers inside the
> interrupt context

I would say something like 'virtio-ccw does not support using
virtio_config_ops from an atomic context' as the limitation is not
limited to read config (aka. get()). But I'm fine with your formulation
as well.

> , so we tweak the virtballoon_changed implementation
> by moving the config read operations into the related workqueue contexts.
>
> Signed-off-by: Wei Wang <wei.w.wang@xxxxxxxxx>


Reviewed-by: Halil Pasic <pasic@xxxxxxxxxxxxx>

[..]