Re: [PATCH RFC 07/15] migration: Introduce postcopy channels on dest node

2022-02-08 Thread Peter Xu
On Tue, Feb 08, 2022 at 09:43:49AM +, Dr. David Alan Gilbert wrote: > > It'll be cleaned up later here: > > > > loadvm_postcopy_handle_listen > > postcopy_ram_incoming_setup > > postcopy_temp_pages_setup > > postcopy_ram_incoming_cleanup <-- if fail above, go here > >

Re: [PATCH RFC 07/15] migration: Introduce postcopy channels on dest node

2022-02-08 Thread Dr. David Alan Gilbert
* Peter Xu (pet...@redhat.com) wrote: > On Thu, Feb 03, 2022 at 03:08:39PM +, Dr. David Alan Gilbert wrote: > > * Peter Xu (pet...@redhat.com) wrote: > > > Postcopy handles huge pages in a special way that currently we can only > > > have > > > one "channel" to transfer the page. > > > > > >

Re: [PATCH RFC 07/15] migration: Introduce postcopy channels on dest node

2022-02-07 Thread Peter Xu
On Thu, Feb 03, 2022 at 03:08:39PM +, Dr. David Alan Gilbert wrote: > * Peter Xu (pet...@redhat.com) wrote: > > Postcopy handles huge pages in a special way that currently we can only have > > one "channel" to transfer the page. > > > > It's because when we install pages using UFFDIO_COPY, we

Re: [PATCH RFC 07/15] migration: Introduce postcopy channels on dest node

2022-02-03 Thread Dr. David Alan Gilbert
* Peter Xu (pet...@redhat.com) wrote: > Postcopy handles huge pages in a special way that currently we can only have > one "channel" to transfer the page. > > It's because when we install pages using UFFDIO_COPY, we need to have the > whole > huge page ready, it also means we need to have a temp

[PATCH RFC 07/15] migration: Introduce postcopy channels on dest node

2022-01-19 Thread Peter Xu
Postcopy handles huge pages in a special way that currently we can only have one "channel" to transfer the page. It's because when we install pages using UFFDIO_COPY, we need to have the whole huge page ready, it also means we need to have a temp huge page when trying to receive the whole content