]> git.proxmox.com Git - qemu.git/commit
ram: optimize migration bitmap walking
authorJuan Quintela <quintela@redhat.com>
Wed, 17 Oct 2012 22:00:59 +0000 (00:00 +0200)
committerJuan Quintela <quintela@redhat.com>
Thu, 20 Dec 2012 22:09:40 +0000 (23:09 +0100)
commit4c8ae0f60e63478aea0a1741cca95474b68fb949
tree40998170d054ef6e15fc793fe937e0939013c3f4
parentece7931817e03a4d946c15716fab5e4f781663c9
ram: optimize migration bitmap walking

Instead of testing each page individually, we search what is the next
dirty page with a bitmap operation.  We have to reorganize the code to
move from a "for" loop, to a while(dirty) loop.

Signed-off-by: Juan Quintela <quintela@redhat.com>
arch_init.c