Re: [PATCH kernel 1/2] mm: add the related functions to build the free page bitmap

From: Rik van Riel
Date: Tue Apr 19 2016 - 10:54:43 EST


On Tue, 2016-04-19 at 22:34 +0800, Liang Li wrote:
> The free page bitmap will be sent to QEMU through virtio interface
> and used for live migration optimization.
> Drop the cache before building the free page bitmap can get more
> free pages. Whether dropping the cache is decided by user.
>

How do you prevent the guest from using those
recently-freed pages for something else, between
when you build the bitmap and the live migration
completes?