Message ID | 20190627020822.15485-1-richardw.yang@linux.intel.com |
---|---|
Headers | show |
Series | migration/postcopy: cleanup function postcopy_send_discard_bm_ram | expand |
* Wei Yang (richardw.yang@linux.intel.com) wrote: > 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. > Queued > 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 > > -- Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK