Re: [Qemu-devel] [PATCH 08/15] postcopy: Use temporary for placing zero huge pages

2017-01-25 Thread Juan Quintela
"Dr. David Alan Gilbert (git)" wrote: > From: "Dr. David Alan Gilbert" > > The kernel can't do UFFDIO_ZEROPAGE for huge pages, so we have > to allocate a temporary (always zero) page and use UFFDIO_COPYPAGE > on it. > > Signed-off-by: Dr. David Alan

[Qemu-devel] [PATCH 08/15] postcopy: Use temporary for placing zero huge pages

2017-01-06 Thread Dr. David Alan Gilbert (git)
From: "Dr. David Alan Gilbert" The kernel can't do UFFDIO_ZEROPAGE for huge pages, so we have to allocate a temporary (always zero) page and use UFFDIO_COPYPAGE on it. Signed-off-by: Dr. David Alan Gilbert --- include/migration/migration.h | 1 +