mbox series

[0/2] migration/postcopy: map tmp and large zero page in setup stage

Message ID 20191005135021.21721-1-richardw.yang@linux.intel.com (mailing list archive)
Headers show
Series migration/postcopy: map tmp and large zero page in setup stage | expand

Message

Wei Yang Oct. 5, 2019, 1:50 p.m. UTC
Currently we map these page when we want to use it, while this may be a
little late.

To make the code consistency, these two patches move the map into
postcopy_ram_incoming_setup.

Wei Yang (2):
  migration/postcopy: allocate tmp_page in setup stage
  migration/postcopy: map large zero page in
    postcopy_ram_incoming_setup()

 migration/postcopy-ram.c | 74 +++++++++++++++-------------------------
 migration/postcopy-ram.h |  7 ----
 migration/ram.c          |  2 +-
 3 files changed, 28 insertions(+), 55 deletions(-)

Comments

Dr. David Alan Gilbert Oct. 11, 2019, 1:29 p.m. UTC | #1
* Wei Yang (richardw.yang@linux.intel.com) wrote:
> Currently we map these page when we want to use it, while this may be a
> little late.
> 
> To make the code consistency, these two patches move the map into
> postcopy_ram_incoming_setup.

Queued

> 
> Wei Yang (2):
>   migration/postcopy: allocate tmp_page in setup stage
>   migration/postcopy: map large zero page in
>     postcopy_ram_incoming_setup()
> 
>  migration/postcopy-ram.c | 74 +++++++++++++++-------------------------
>  migration/postcopy-ram.h |  7 ----
>  migration/ram.c          |  2 +-
>  3 files changed, 28 insertions(+), 55 deletions(-)
> 
> -- 
> 2.17.1
> 
> 
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK