* Juan Quintela (quint...@redhat.com) wrote: > "Dr. David Alan Gilbert (git)" <dgilb...@redhat.com> wrote: > > From: "Dr. David Alan Gilbert" <dgilb...@redhat.com> > > > > We need extra Linux kernel support (~4.9) to support userfaults > > on hugetlbfs; check for them. > > > > Signed-off-by: Dr. David Alan Gilbert <dgilb...@redhat.com> > > Reviewed-by: Juan Quintela <quint...@redhat.com> > > > > migration/postcopy-ram.c | 11 +++++++++++ > > 1 file changed, 11 insertions(+) > > > > diff --git a/migration/postcopy-ram.c b/migration/postcopy-ram.c > > index 6b30b43..d12dd7f 100644 > > --- a/migration/postcopy-ram.c > > +++ b/migration/postcopy-ram.c > > @@ -81,6 +81,17 @@ static bool ufd_version_check(int ufd) > > return false; > > } > > > > + if (getpagesize() != ram_pagesize_summary()) { > > I am pretty sure that I don't like ram_pagesize_summary() name. I have > already forgot what I mean O:-)
Suggested replacements welcome! Dave -- Dr. David Alan Gilbert / dgilb...@redhat.com / Manchester, UK