qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCHv2 0/3] virtio-serial-bus: use a bh for flush_queued_data
@ 2011-04-28 12:04 Alon Levy
  2011-04-28 12:04 ` [Qemu-devel] [PATCHv2 1/3] virtio-serial-bus: use bh for unthrottling Alon Levy
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Alon Levy @ 2011-04-28 12:04 UTC (permalink / raw)
  To: qemu-devel

This replaces the direct call of flush_queued_data with a bottom half,
making the callpath for the chardev identical in a normal write and a write
resulting from unthrottling.

It includes a patch to add an accessor to QEMUBH to get scheduled status,
to keep the bh scheduled across migration.

Migration only trivially tested - just that it didn't break.

Alon Levy (3):
  virtio-serial-bus: use bh for unthrottling
  bh: add qemu_bh_is_scheduled
  virtio-serial-bus: on migration send status of pending ports bh

 async.c                |    4 ++++
 hw/virtio-serial-bus.c |   25 ++++++++++++++++++++-----
 hw/virtio-serial.h     |    5 +++++
 qemu-common.h          |    1 +
 4 files changed, 30 insertions(+), 5 deletions(-)

-- 
1.7.4.4

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-04-28 12:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-28 12:04 [Qemu-devel] [PATCHv2 0/3] virtio-serial-bus: use a bh for flush_queued_data Alon Levy
2011-04-28 12:04 ` [Qemu-devel] [PATCHv2 1/3] virtio-serial-bus: use bh for unthrottling Alon Levy
2011-04-28 12:04 ` [Qemu-devel] [PATCHv2 2/3] bh: add qemu_bh_is_scheduled Alon Levy
2011-04-28 12:04 ` [Qemu-devel] [PATCHv2 3/3] virtio-serial-bus: on migration send status of pending ports bh Alon Levy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).