Thread (78 messages) 78 messages, 6 authors, 2009-08-04

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

From: Serge E. Hallyn <hidden>
Date: 2009-07-22 17:57:44
Also in: linux-mm, lkml

Quoting Oren Laadan (orenl@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

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help