summaryrefslogtreecommitdiff
path: root/thread-pool.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2012-10-18 00:00:59 +0200
committerJuan Quintela <quintela@redhat.com>2012-12-20 23:09:40 +0100
commit4c8ae0f60e63478aea0a1741cca95474b68fb949 (patch)
tree40998170d054ef6e15fc793fe937e0939013c3f4 /thread-pool.c
parentece7931817e03a4d946c15716fab5e4f781663c9 (diff)
downloadqemu-4c8ae0f60e63478aea0a1741cca95474b68fb949.tar.gz
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>
Diffstat (limited to 'thread-pool.c')
0 files changed, 0 insertions, 0 deletions