]> Git Repo - qemu.git/commit - migration/ram.c
migration/postcopy: not necessary to do discard when canonicalizing bitmap
authorWei Yang <[email protected]>
Mon, 19 Aug 2019 06:18:41 +0000 (14:18 +0800)
committerDr. David Alan Gilbert <[email protected]>
Wed, 25 Sep 2019 14:51:19 +0000 (15:51 +0100)
commit8324ef86f004b1224844267d1fbbf4a80a54207d
tree65839a17cf4c8c6e8ae7bc3726abc991833bc7e9
parent91490583f3cc8613159008502decf2f1481508fd
migration/postcopy: not necessary to do discard when canonicalizing bitmap

All pages, either partially sent or partially dirty, will be discarded in
postcopy_send_discard_bm_ram(), since we update the unsentmap to be
unsentmap = unsentmap | dirty in ram_postcopy_send_discard_bitmap().

This is not necessary to do discard when canonicalizing bitmap. And by
doing so, we separate the page discard into two individual steps:

  * canonicalize bitmap
  * discard page

Signed-off-by: Wei Yang <[email protected]>
Message-Id: <20190819061843[email protected]>
Reviewed-by: Dr. David Alan Gilbert <[email protected]>
Signed-off-by: Dr. David Alan Gilbert <[email protected]>
migration/ram.c
This page took 0.022772 seconds and 4 git commands to generate.