xen-netback: synchronisation between core driver and netback
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest posting 2/23 patches 4 repliesIn review
- v4 posting 1/20 of 3 patches 0 repliesSuperseded
- v3 posting 2/23 patches 4 repliesSuperseded
Earlier versions · 4
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 posting 1/2 | 0 of 3 patches | 0 replies | Superseded | |
| v2 posting 2/2 | 3 patches | 38 replies | Superseded | |
| v2 posting 1/2 | 0 of 3 patches | 0 replies | Superseded | |
| v1 | 3 patches | 2 replies | Superseded |
Patches in v4 posting 2/2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | xen-netback: move NAPI add/remove callsdrivers/ | +5 | 0 replies | |
| 1/3 | xen-netback: move NAPI add/remove callsdrivers/ | +5 | 0 replies | |
| 2/3 | xen-netback: don't stop dealloc kthread too earlydrivers/ drivers/ drivers/ | +42 | 0 replies | |
| 2/3 | xen-netback: don't stop dealloc kthread too earlydrivers/ drivers/ drivers/ | +42 | 0 replies | |
| 3/3 | xen-netback: remove loop waiting functiondrivers/ | +0 | 0 replies | |
| 3/3 | xen-netback: remove loop waiting functiondrivers/ | +0 | 0 replies |
Reviews trailers per patch
None of the 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Zoltan Kiss |
|---|---|
| Series | A-b A-b |
| 1/3 | |
| 1/3 | |
| 2/3 | |
| 2/3 | |
| 3/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net v4 0/3] xen-netback: synchronisation between core driver and netback
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 erroneous 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.
Chagges in v4:
* avoid using wait queue
* remove dedicated loop for netif_napi_del
* remove unnecessary check on callback
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 | 56 ++++++++++++++--------------------- drivers/net/xen-netback/netback.c | 26 +++++++++++----- 3 files changed, 47 insertions(+), 40 deletions(-)
Signature · 1 line
1.7.10.4