xen: evtchn and gntdev device fixes and perf improvements
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | xen/evtchn: avoid a deadlock when unbinding an event channeldrivers/ | +2 | 2 replies | |
| 2/3 | xen/p2m: avoid unneccesary TLB flush in m2p_remove_override()arch/ | +0 | 1 reply | |
| 3/3 | xen/evtchn: improve scalability by using per-user locksdrivers/ | +112 | 0 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Stefano Stabellini |
|---|---|
| 1/3 | |
| 2/3 | R-b |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] xen: evtchn and gntdev device fixes and perf improvements
This series includes a small collection of fixes improving the evtchn and gntdev devices.
Patch 1 fixes a bug in the evtchn device that may cause deadlocks when unbinding events or closing the device. You may wish to consider it for stable.
Patch 2 is a (very) minor performance improvement to m2p_remove_override() when used by the the gntdev device. The TLB flush that it did not have any significant performance cost (since it's a local CPU and single address only).
Patch 3 improves the scalability of the evtchn device when it is used by multiple processes (e.g., multiple qemus). As you can see from the graph[1] it is a signficant improvement but still less than ideal. I suspect that this may be due to the per-domain event lock inside Xen rather than anything kernel-side.
The graphed data was collected from dom0 with 8 VCPUs on a host with 8 CPUs.
David
[1] http://xenbits.xen.org/people/dvrabel/evtchn-device-scalability.png