qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/3] migration/postcopy: cleanup function postcopy_send_discard_bm_ram
@ 2019-06-27  2:08 Wei Yang
  2019-06-27  2:08 ` [Qemu-devel] [PATCH 1/3] migration/postcopy: the valid condition is one less then end Wei Yang
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Wei Yang @ 2019-06-27  2:08 UTC (permalink / raw)
  To: qemu-devel; +Cc: Wei Yang, dgilbert, quintela

Some cleanup of function postcopy_send_discard_bm_ram:

* use a more restrict check for discard page
* break the loop when no more page to discard
* it is for sure discard_length is not 0

No functional change.

Wei Yang (3):
  migration/postcopy: the valid condition is one less then end
  migration/postcopy: break the loop when there is no more page to
    discard
  migration/postcopy: discard_length must not be 0

 migration/ram.c | 24 +++++++++++-------------
 1 file changed, 11 insertions(+), 13 deletions(-)

-- 
2.19.1



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

end of thread, other threads:[~2019-08-07 17:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-27  2:08 [Qemu-devel] [PATCH 0/3] migration/postcopy: cleanup function postcopy_send_discard_bm_ram Wei Yang
2019-06-27  2:08 ` [Qemu-devel] [PATCH 1/3] migration/postcopy: the valid condition is one less then end Wei Yang
2019-06-28 15:09   ` Dr. David Alan Gilbert
2019-06-28 23:04     ` Wei Yang
2019-06-27  2:08 ` [Qemu-devel] [PATCH 2/3] migration/postcopy: break the loop when there is no more page to discard Wei Yang
2019-06-28 15:15   ` Dr. David Alan Gilbert
2019-06-27  2:08 ` [Qemu-devel] [PATCH 3/3] migration/postcopy: discard_length must not be 0 Wei Yang
2019-06-28 15:17   ` Dr. David Alan Gilbert
2019-08-07 17:16 ` [Qemu-devel] [PATCH 0/3] migration/postcopy: cleanup function postcopy_send_discard_bm_ram Dr. David Alan Gilbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).