[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 0/3] make bh safe with hot-unplug

From: Liu Ping Fan
Subject: [Qemu-devel] [PATCH 0/3] make bh safe with hot-unplug
Date: Wed, 26 Jun 2013 01:38:33 +0800

This series relies on refcnt of object used by bh callback to run against 

Open issue:
Another choice may be rcu, but I think some issues are hard to resolve.
Using rcu, we have two choice:
  when holding object refcnt, call qemu_bh_delete(); then after grace period, 
we can release.
  Or making qemu_bh_delete() sync in the path of DeviceState's finalization.
but currently, the callers of qemu_bh_delete() can not satisfy any of the two 

Liu Ping Fan (3):
  QEMUBH: introduce canceled member for bh
  QEMUBH: pin bh's referring object while scheduling
  virtio-net: set referred object for virtio net's bh

 async.c             | 37 ++++++++++++++++++++++++++++++++-----
 hw/net/virtio-net.c |  1 +
 include/block/aio.h |  6 ++++++
 stubs/Makefile.objs |  1 +
 4 files changed, 40 insertions(+), 5 deletions(-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]