[CRIU] [PATCH 2/2] opts: Allo to specify the maximum size of ghost files

Pavel Emelyanov xemul at parallels.com
Mon Aug 10 05:13:01 PDT 2015


> @@ -60,6 +60,7 @@ void init_opts(void)
>  	opts.cpu_cap = CPU_CAP_DEFAULT;
>  	opts.manage_cgroups = CG_MODE_DEFAULT;
>  	opts.ps_socket = -1;
> +	opts.ghost_limit = (1 * 1024 * 1024);

= MAX_GHOST_FILE_SIZE

>  }
>  
>  static int parse_ns_string(const char *ptr)



More information about the CRIU mailing list