[CRIU] [PATCH] travis/lazy-pages: exclude lazy-thp for older kernels

Andrei Vagin avagin at virtuozzo.com
Mon Oct 16 22:59:51 MSK 2017


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"
}

>  fi
>  LAZY_EXCLUDE="$LAZY_EXCLUDE -x maps04"
>  
> -- 
> 2.7.4
> 


More information about the CRIU mailing list