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

From: Serge E. Hallyn
Date: Wed Jul 22 2009 - 13:57:50 EST


Quoting Oren Laadan (orenl@xxxxxxxxxxx):
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/