From: Wei Liu <wei.liu2@citrix.com>
To: <xen-devel@lists.xen.org>, <netdev@vger.kernel.org>
Cc: <ian.campbell@citrix.com>, <zoltan.kiss@citrix.com>,
Wei Liu <wei.liu2@citrix.com>
Subject: [PATCH net v3 0/3] xen-netback: synchronisation between core driver and netback
Date: Mon, 11 Aug 2014 11:11:21 +0100 [thread overview]
Message-ID: <1407751884-9005-1-git-send-email-wei.liu2@citrix.com> (raw)
The zero-copy netback has far more interactions with core network driver than
the old copying backend. One significant thing is that netback now relies on
a callback from core driver to correctly release resources.
However correct synchronisation between core driver and netback is missing.
Currently netback relies on a loop to wait for core driver to release
resources. This is proven not enough and erronous recently, partly due to code
structure, partly due to missing synchronisation. Short-live domains like
OpenMirage unikernels can easily trigger race in backend, rendering backend
unresponsive.
This patch series aims to slove this issue by introducing proper
synchronisation between core driver and netback.
Wei.
Change in v3: improve commit message in patch 1
Change in v2: fix Zoltan's email address in commit message
Wei Liu (3):
xen-netback: move NAPI add/remove calls
xen-netback: don't stop dealloc kthread too early
xen-netback: remove loop waiting function
drivers/net/xen-netback/common.h | 5 +++
drivers/net/xen-netback/interface.c | 57 +++++++++++++++--------------------
drivers/net/xen-netback/netback.c | 24 ++++++++++++---
3 files changed, 49 insertions(+), 37 deletions(-)
--
1.7.10.4
next reply other threads:[~2014-08-11 10:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-11 10:11 Wei Liu [this message]
2014-08-11 10:11 ` [PATCH net v3 1/3] xen-netback: move NAPI add/remove calls Wei Liu
2014-08-11 10:11 ` [PATCH net v3 2/3] xen-netback: don't stop dealloc kthread too early Wei Liu
2014-08-11 14:55 ` Zoltan Kiss
2014-08-11 15:16 ` Wei Liu
2014-08-11 10:11 ` [PATCH net v3 3/3] xen-netback: remove loop waiting function Wei Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1407751884-9005-1-git-send-email-wei.liu2@citrix.com \
--to=wei.liu2@citrix.com \
--cc=ian.campbell@citrix.com \
--cc=netdev@vger.kernel.org \
--cc=xen-devel@lists.xen.org \
--cc=zoltan.kiss@citrix.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).