[CRIU] [PATCH] travis/lazy-pages: exclude lazy-thp for older kernels
Mike Rapoport
rppt at linux.vnet.ibm.com
Tue Oct 17 09:33:59 MSK 2017
On Mon, Oct 16, 2017 at 12:59:51PM -0700, Andrei Vagin wrote:
> On Sun, Oct 15, 2017 at 09:16:40AM +0300, Mike Rapoport wrote:
> > The lazy-thp may fail with older kernels if khugepaded will be fast enough
> > to merge pages in the partially populated areas.
> >
> > Signed-off-by: Mike Rapoport <rppt at linux.vnet.ibm.com>
> > ---
> > scripts/travis/travis-tests | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/scripts/travis/travis-tests b/scripts/travis/travis-tests
> > index c2167a8..6cfc81f 100755
> > --- a/scripts/travis/travis-tests
> > +++ b/scripts/travis/travis-tests
> > @@ -84,7 +84,7 @@ if [ $KERN_MAJ -ge "4" ] && [ $KERN_MIN -ge "11" ]; then
> > else
> > LAZY_EXCLUDE="-x maps007 -x fork -x fork2 -x uffd-events -x cgroupns
> > -x socket_listen -x socket_listen6 -x cmdlinenv00
> > - -x socket_close_data01 -x file_read"
> > + -x socket_close_data01 -x file_read -x lazy-thp"
>
> I use this script to run tests on linux-next. Maybe we can do something
> like this:
>
> criu check --feature XXX || {
> LAZY_EXCLUDE="$LAZY_EXCLUDE -x lazy-thp"
> }
The patch excludes lazy-thp for kernels <4.11
> > fi
> > LAZY_EXCLUDE="$LAZY_EXCLUDE -x maps04"
> >
> > --
> > 2.7.4
> >
>
--
Sincerely yours,
Mike.
More information about the CRIU
mailing list