qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Migration: Make more ram_counters atomic
@ 2023-03-01 12:40 Juan Quintela
  2023-03-01 12:40 ` [PATCH 1/3] migration: Merge ram_counters and ram_atomic_counters Juan Quintela
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Juan Quintela @ 2023-03-01 12:40 UTC (permalink / raw)
  To: qemu-devel; +Cc: Juan Quintela, Dr. David Alan Gilbert

Hi

On previous series we cerate ram_atomic_counters.  But we basically
need that all counters are atomic.  So move back to only have
ram_counters, just with a new type that allows the atomic counters.

Once there, move update of stats out of RAM mutex.
And make multifd_bytes atomic.

Later, Juan.

Juan Quintela (3):
  migration: Merge ram_counters and ram_atomic_counters
  migration: Update atomic stats out of the mutex
  migration: Make multifd_bytes atomic

 migration/ram.h       | 26 ++++++++++++++------------
 migration/migration.c | 12 ++++++------
 migration/multifd.c   |  8 ++++----
 migration/ram.c       | 39 ++++++++++++++++-----------------------
 4 files changed, 40 insertions(+), 45 deletions(-)

-- 
2.39.2



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

end of thread, other threads:[~2023-03-02 11:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-01 12:40 [PATCH 0/3] Migration: Make more ram_counters atomic Juan Quintela
2023-03-01 12:40 ` [PATCH 1/3] migration: Merge ram_counters and ram_atomic_counters Juan Quintela
2023-03-02 11:48   ` David Edmondson
2023-03-01 12:40 ` [PATCH 2/3] migration: Update atomic stats out of the mutex Juan Quintela
2023-03-02 11:51   ` David Edmondson
2023-03-01 12:40 ` [PATCH 3/3] migration: Make multifd_bytes atomic Juan Quintela
2023-03-02 11:52   ` David Edmondson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).