All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] migration/postcopy: shared-fault accounting and multifd docs
@ 2026-09-15  6:37 Bin Guo
  2026-09-15  6:37 ` [PATCH 1/2] docs/migration: document that postcopy can be used with multifd Bin Guo
  2026-09-15  6:37 ` [PATCH 2/2] migration/postcopy: account faults taken by memory sharing processes Bin Guo
  0 siblings, 2 replies; 6+ messages in thread
From: Bin Guo @ 2026-09-15  6:37 UTC (permalink / raw)
  To: qemu-devel; +Cc: peterx, farosas, pierrick.bouvier

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(-)

-- 
2.50.1 (Apple Git-155)



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-09-22 17:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-15  6:37 [PATCH 0/2] migration/postcopy: shared-fault accounting and multifd docs Bin Guo
2026-09-15  6:37 ` [PATCH 1/2] docs/migration: document that postcopy can be used with multifd Bin Guo
2026-09-22 14:44   ` Fabiano Rosas
2026-09-22 17:29     ` Peter Xu
2026-09-15  6:37 ` [PATCH 2/2] migration/postcopy: account faults taken by memory sharing processes Bin Guo
2026-09-22 17:55   ` Peter Xu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.