All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/6] Introduce bit-based phys_ram_dirty, and bit-based dirty page checker.
@ 2010-04-06  0:51 ` Yoshiaki Tamura
  0 siblings, 0 replies; 32+ messages in thread
From: Yoshiaki Tamura @ 2010-04-06  0:51 UTC (permalink / raw)
  To: kvm, qemu-devel; +Cc: avi, anthony, aliguori, mtosatti, ohmura.kei

The dirty and non-dirty pages are checked one by one.  When most of the memory
is not dirty, checking the dirty and non-dirty pages by multiple page size
should be much faster than checking them one by one.  We introduced bit-based
phys_ram_dirty for VGA, CODE, MIGRATION, MASTER, and
cpu_physical_memory_get_dirty_range() for this purpose.

This patch set is v2 based on the following discussion.

http://www.mail-archive.com/kvm@vger.kernel.org/msg30722.html

I also rebased to qemu.git, but it needs the folloing patch set to be applied.

http://article.gmane.org/gmane.comp.emulators.qemu/66007

Yoshiaki Tamura (6):
  Modify DIRTY_FLAG value to use as indexes of bit-based
    phys_ram_dirty.
  Introduce bit-based phys_ram_dirty for VGA, CODE, MIGRATION and
    MASTER.
  Modifies wrapper functions for byte-based phys_ram_dirty bitmap to   
     bit-based phys_ram_dirty bitmap.
  Introduce cpu_physical_memory_get_dirty_range().
  Use cpu_physical_memory_set_dirty_range() to update phys_ram_dirty.
  Use cpu_physical_memory_get_dirty_range() to check multiple dirty
    pages.

 arch_init.c |   54 ++++++++++++++++++++------------
 bswap.h     |    2 +
 cpu-all.h   |   95 +++++++++++++++++++++++++++++++++++++++++++++++---------
 exec.c      |   98 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
 kvm-all.c   |   33 +++++++++-----------
 5 files changed, 222 insertions(+), 60 deletions(-)


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

end of thread, other threads:[~2010-04-13 10:50 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-06  0:51 [PATCH v2 0/6] Introduce bit-based phys_ram_dirty, and bit-based dirty page checker Yoshiaki Tamura
2010-04-06  0:51 ` [Qemu-devel] " Yoshiaki Tamura
2010-04-06  0:51 ` [PATCH v2 1/6] Modify DIRTY_FLAG value to use as indexes of bit-based phys_ram_dirty Yoshiaki Tamura
2010-04-06  0:51   ` [Qemu-devel] " Yoshiaki Tamura
2010-04-06  0:51 ` [PATCH v2 2/6] Introduce bit-based phys_ram_dirty for VGA, CODE, MIGRATION and MASTER Yoshiaki Tamura
2010-04-06  0:51   ` [Qemu-devel] " Yoshiaki Tamura
2010-04-12  8:01   ` Avi Kivity
2010-04-12  8:01     ` [Qemu-devel] " Avi Kivity
2010-04-12  9:39     ` Yoshiaki Tamura
2010-04-12  9:39       ` [Qemu-devel] " Yoshiaki Tamura
2010-04-12 10:17       ` Avi Kivity
2010-04-12 10:17         ` [Qemu-devel] " Avi Kivity
2010-04-06  0:51 ` [PATCH v2 3/6] Modifies wrapper functions for byte-based phys_ram_dirty bitmap to bit-based phys_ram_dirty bitmap Yoshiaki Tamura
2010-04-06  0:51   ` [Qemu-devel] " Yoshiaki Tamura
2010-04-12  8:10   ` Avi Kivity
2010-04-12  8:10     ` [Qemu-devel] " Avi Kivity
2010-04-12 10:58     ` Yoshiaki Tamura
2010-04-12 10:58       ` [Qemu-devel] " Yoshiaki Tamura
2010-04-12 11:09       ` Avi Kivity
2010-04-12 11:09         ` [Qemu-devel] " Avi Kivity
2010-04-13  8:01         ` Yoshiaki Tamura
2010-04-13  8:01           ` [Qemu-devel] " Yoshiaki Tamura
2010-04-13  9:20           ` Avi Kivity
2010-04-13  9:20             ` [Qemu-devel] " Avi Kivity
2010-04-13 10:49             ` Yoshiaki Tamura
2010-04-13 10:49               ` [Qemu-devel] " Yoshiaki Tamura
2010-04-06  0:51 ` [PATCH v2 4/6] Introduce cpu_physical_memory_get_dirty_range() Yoshiaki Tamura
2010-04-06  0:51   ` [Qemu-devel] " Yoshiaki Tamura
2010-04-06  0:51 ` [PATCH v2 5/6] Use cpu_physical_memory_set_dirty_range() to update phys_ram_dirty Yoshiaki Tamura
2010-04-06  0:51   ` [Qemu-devel] " Yoshiaki Tamura
2010-04-06  0:51 ` [PATCH v2 6/6] Use cpu_physical_memory_get_dirty_range() to check multiple dirty pages Yoshiaki Tamura
2010-04-06  0:51   ` [Qemu-devel] " Yoshiaki Tamura

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.