qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/5] make netlayer re-entrant
@ 2013-03-07  2:53 Liu Ping Fan
  2013-03-07  2:53 ` [Qemu-devel] [PATCH v2 1/5] net: spread hub on AioContexts Liu Ping Fan
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Liu Ping Fan @ 2013-03-07  2:53 UTC (permalink / raw)
  To: qemu-devel
  Cc: Stefan Hajnoczi, Michael S. Tsirkin, mdroth, Anthony Liguori,
	Paolo Bonzini

From: Liu Ping Fan <pingfank@linux.vnet.ibm.com>

changes v1->v2
  Because the NetQueue is exposed not just from qemu_send_queue_xx(), so
  separating locks -- use NetQueue(NetQueue->lock) to protect the queue, and
  use nc->send_lock for the access of nc->peer so we can protect the sender
  from the remover.  

Question:
  Use AioContexts for hub or the raw GSource


Liu Ping Fan (5):
  net: spread hub on AioContexts
  net: hub use lock to protect ports list
  net: introduce lock to protect NetQueue
  net: introduce lock to protect NetClientState's peer's access
  net: make netclient re-entrant with refcnt

 hw/qdev-properties-system.c |   15 +++++
 include/block/aio.h         |    1 +
 include/net/net.h           |   12 ++++
 include/net/queue.h         |   14 +++++
 main-loop.c                 |    5 ++
 net/hub.c                   |   81 +++++++++++++++++++++++++++--
 net/net.c                   |  122 ++++++++++++++++++++++++++++++++++++++++--
 net/queue.c                 |   19 +++++--
 net/slirp.c                 |    3 +-
 9 files changed, 257 insertions(+), 15 deletions(-)

-- 
1.7.4.4

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

end of thread, other threads:[~2013-03-14  2:14 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-07  2:53 [Qemu-devel] [PATCH v2 0/5] make netlayer re-entrant Liu Ping Fan
2013-03-07  2:53 ` [Qemu-devel] [PATCH v2 1/5] net: spread hub on AioContexts Liu Ping Fan
2013-03-12  8:50   ` Paolo Bonzini
2013-03-13  2:26     ` liu ping fan
2013-03-13 10:37       ` Paolo Bonzini
2013-03-07  2:53 ` [Qemu-devel] [PATCH v2 2/5] net: hub use lock to protect ports list Liu Ping Fan
2013-03-12  8:56   ` Paolo Bonzini
2013-03-07  2:53 ` [Qemu-devel] [PATCH v2 3/5] net: introduce lock to protect NetQueue Liu Ping Fan
2013-03-07  2:53 ` [Qemu-devel] [PATCH v2 4/5] net: introduce lock to protect NetClientState's peer's access Liu Ping Fan
2013-03-12  8:55   ` Paolo Bonzini
2013-03-13  1:26     ` liu ping fan
2013-03-13 10:39       ` Paolo Bonzini
2013-03-14  2:14         ` liu ping fan
2013-03-07  2:53 ` [Qemu-devel] [PATCH v2 5/5] net: make netclient re-entrant with refcnt Liu Ping Fan
2013-03-12  8:45   ` Paolo Bonzini

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).