diff options
author | Peter Xu <peterx@redhat.com> | 2021-12-07 19:50:13 +0800 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2022-01-28 15:38:23 +0100 |
commit | f30c2e5ba81b8d388b7beeae84e6db5ea8220924 (patch) | |
tree | e225cddbf3fa67a80d8203bf32d52eabb45c5393 /scripts/cocci-macro-file.h | |
parent | e3fbf760218fe06d0c95bb595774c76206219e2f (diff) |
migration: Do chunk page in postcopy_each_ram_send_discard()
Right now we loop ramblocks for twice, the 1st time chunk the dirty bits with
huge page information; the 2nd time we send the discard ranges. That's not
necessary - we can do them in a single loop.
Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'scripts/cocci-macro-file.h')
0 files changed, 0 insertions, 0 deletions