On (Thu) 19 Nov 2015 [15:27:48], Dr. David Alan Gilbert (git) wrote:
> From: "Dr. David Alan Gilbert" <dgilb...@redhat.com>
> 
> madvise() returns EINVAL in the case of many failures, but also
> returns it in cases where the host kernel doesn't have THP enabled.
> Postcopy only really cares that THP is off before it detects faults,
> and turns it back on afterwards; so we're going to have
> to assume that if the madvise fails then the host just doesn't do
> THP and we can carry on with the postcopy.
> 
> Signed-off-by: Dr. David Alan Gilbert <dgilb...@redhat.com>
> Tested-by: Jason J. Herne <jjhe...@linux.vnet.ibm.com>

Reviewed-by: Amit Shah <amit.s...@redhat.com>

                Amit

Reply via email to