mbox series

[v2,0/2] virtio-balloon: tweak config_changed

Message ID 1546585913-34804-1-git-send-email-wei.w.wang@intel.com (mailing list archive)
Headers show
Series virtio-balloon: tweak config_changed | expand

Message

Wang, Wei W Jan. 4, 2019, 7:11 a.m. UTC
Since virtio-ccw doesn't work with accessing to the config space
inside an interrupt context, this patch series avoids that issue by
moving the config register accesses to the related workqueue contexts.

v1->v2 ChangeLog:
    - add config_read_bitmap to indicate to the workqueue callbacks about
      the necessity of reading the related config fields.

Wei Wang (2):
  virtio-balloon: tweak config_changed implementation
  virtio-balloon: improve update_balloon_size_func

 drivers/virtio/virtio_balloon.c | 86 +++++++++++++++++++++++++++--------------
 1 file changed, 57 insertions(+), 29 deletions(-)