[Devel] Re: [RFC v17][PATCH 22/60] c/r: external checkpoint of a task other than ourself

Serge E. Hallyn serue at us.ibm.com
Wed Jul 22 10:52:23 PDT 2009


Quoting Oren Laadan (orenl at librato.com):
> Now we can do "external" checkpoint, i.e. act on another task.

...

>  long do_checkpoint(struct ckpt_ctx *ctx, pid_t pid)
>  {
>  	long ret;
> 
> +	ret = init_checkpoint_ctx(ctx, pid);
> +	if (ret < 0)
> +		return ret;
> +
> +	if (ctx->root_freezer) {
> +		ret = cgroup_freezer_begin_checkpoint(ctx->root_freezer);
> +		if (ret < 0)
> +			return ret;
> +	}

Self-checkpoint of a task in root freezer is now denied, though.

Was that intentional?

-serge
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list