[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 0/6] port network layer onto glib
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH v2 0/6] port network layer onto glib |
Date: |
Tue, 18 Jun 2013 15:07:18 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Thu, Jun 13, 2013 at 05:03:00PM +0800, Liu Ping Fan wrote:
> Currently, I drop slirp and frontend related code (I guess I can reuse some
> code by mdroth's QContext later). And this series only resolve the net core
> re-entrant problem.
>
> v1->v2:
> introduce netqueue re-entrant detection and defer it to BH
>
> Liu Ping Fan (6):
> net: introduce lock to protect NetQueue
> net: introduce lock to protect NetClientState's peer's access
> net: make netclient re-entrant with refcnt
> net: force NetQue opaque to be NetClientState
> net: defer nested call to BH
> net: hub use lock to protect ports list
>
> hw/core/qdev-properties-system.c | 14 +++++
> include/net/net.h | 10 ++++
> include/net/queue.h | 2 +-
> net/hub.c | 28 ++++++++-
> net/net.c | 124
> +++++++++++++++++++++++++++++++++++++--
> net/queue.c | 57 ++++++++++++++++--
> net/slirp.c | 3 +-
> 7 files changed, 225 insertions(+), 13 deletions(-)
I've replied with comments for the obvious issues I noticed. For the
next revision I'll apply the patches and do a global review of the
rx/tx/add/del paths because it's hard to really review this
patch-by-patch.
- [Qemu-devel] [PATCH v2 1/6] net: introduce lock to protect NetQueue, (continued)
- [Qemu-devel] [PATCH v2 1/6] net: introduce lock to protect NetQueue, Liu Ping Fan, 2013/06/13
- [Qemu-devel] [PATCH v2 2/6] net: introduce lock to protect NetClientState's peer's access, Liu Ping Fan, 2013/06/13
- [Qemu-devel] [PATCH v2 3/6] net: make netclient re-entrant with refcnt, Liu Ping Fan, 2013/06/13
- [Qemu-devel] [PATCH v2 4/6] net: force NetQue opaque to be NetClientState, Liu Ping Fan, 2013/06/13
- [Qemu-devel] [PATCH v2 5/6] net: defer nested call to BH, Liu Ping Fan, 2013/06/13
- [Qemu-devel] [PATCH v2 6/6] net: hub use lock to protect ports list, Liu Ping Fan, 2013/06/13
- Re: [Qemu-devel] [PATCH v2 0/6] port network layer onto glib,
Stefan Hajnoczi <=