[CRIU] [PATCH 1/2] cgroup: drop cgroup.sane_behavior from global properties

Andrew Vagin avagin at virtuozzo.com
Mon Feb 1 19:44:50 PST 2016


On Tue, Feb 02, 2016 at 09:56:40AM +1100, Tycho Andersen wrote:
> cgroup.sane_behavior is read only (and in fact, the value is always 0), so
> we don't need to c/r this value.

When do we dump and restore global props?

> 
> Reported-by: Andrey Vagin <avagin at openvz.org>
> Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>
> ---
>  cgroup.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/cgroup.c b/cgroup.c
> index 1c29f74..704f144 100644
> --- a/cgroup.c
> +++ b/cgroup.c
> @@ -83,7 +83,6 @@ static const char *freezer_props[] = {
>  
>  static const char *global_props[] = {
>  	"cgroup.clone_children",
> -	"cgroup.sane_behavior",
>  	"notify_on_release",
>  	"cgroup.procs",
>  	"tasks",
> -- 
> 2.5.0
> 
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu


More information about the CRIU mailing list