domctl: Avoid taking domctl lock for certain ops used during migration
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 18 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | domctl: Handle XEN_DOMCTL_getpageframeinfo3 without the domctl lockxen/ xen/ | +5 | 4 replies | |
| 2/2 | domctl: Handle some of XEN_DOMCTL_shadow_op without the domctl lockxen/ xen/ | +18 | 7 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Roger Pau Monné | Oleksii Kurochko | Daniel P. Smith |
|---|---|---|---|
| Series | Release-Acked-by | ||
| 1/2 | R-b | ||
| 2/2 | R-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v1 0/2] domctl: Avoid taking domctl lock for certain ops used during migration
When performing multiple migrations in parallel, the domctl lock may become extremely contended:
* Operations like "xl vcpu-list" were observed to take in excess of 20s to execute.
* The "clean" shadow op may pause the domain, restart with a continuation and then become blocked on the domctl lock, causing VM downtime in excess of 20 seconds.
These issues can be fixed by not holding the domctl for the frequently called operations during migration.
Thanks
Ross Lagerwall (2):
domctl: Handle XEN_DOMCTL_getpageframeinfo3 without the domctl lock
domctl: Handle some of XEN_DOMCTL_shadow_op without the domctl lock
xen/arch/x86/domctl.c | 4 ++++ xen/arch/x86/mm/paging.c | 8 ++++++-- xen/common/domctl.c | 13 +++++++++++++ 3 files changed, 23 insertions(+), 2 deletions(-)
Signature · 1 line
2.53.0