Skip to content

migration/postcopy: shared-fault accounting and multifd docs

Bin Guo qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2docs/migration: document that postcopy can be used with multifddocs/devel/migration/postcopy.rst+26 -02 replies
2/2migration/postcopy: account faults taken by memory sharing processesmigration/postcopy-ram.c migration/postcopy-ram.h+26 -101 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchFabiano RosasPeter Xu
1/2A-b R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] migration/postcopy: shared-fault accounting and multifd docs

Two small patches from the same investigation of the postcopy shared-page-fault path:

- Patch 1 documents that multifd and postcopy-ram can be enabled together since the 10.1 release, and how the two features interact.

- Patch 2 resolves the "TODO: support blocktime tracking" in postcopy_request_shared_page() by reporting faults taken by memory sharing processes (e.g. a vhost-user backend) with a foreign tid, so they show up in the latency reports without polluting the vCPU blocktime ones.

The patches are independent of each other; patch 2 was verified with a vhost-user postcopy migration, where the shared faults now show up in the latency reports and the page request accounting stays balanced.

Bin Guo (2):
docs/migration: document that postcopy can be used with multifd migration/postcopy: account faults taken by memory sharing processes

 docs/devel/migration/postcopy.rst | 26 ++++++++++++++++++++++++++
 migration/postcopy-ram.c          | 26 ++++++++++++++++----------
 migration/postcopy-ram.h          | 10 ++++++++++
 3 files changed, 52 insertions(+), 10 deletions(-)
Signature · 1 line
2.50.1 (Apple Git-155)