[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20081114034130.GA14171@us.ibm.com>
Date: Thu, 13 Nov 2008 21:41:30 -0600
From: "Serge E. Hallyn" <serue@...ibm.com>
To: Oren Laadan <orenl@...columbia.edu>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Linus Torvalds <torvalds@...l.org>,
containers@...ts.linux-foundation.org,
linux-kernel@...r.kernel.org, linux-mm@...ck.org,
linux-api@...r.kernel.org, Thomas Gleixner <tglx@...utronix.de>,
Dave Hansen <dave@...ux.vnet.ibm.com>,
Ingo Molnar <mingo@...e.hu>, "H. Peter Anvin" <hpa@...or.com>,
Alexander Viro <viro@...iv.linux.org.uk>
Subject: Re: [RFC v9][PATCH 12/13] Checkpoint multiple processes
Quoting Oren Laadan (orenl@...columbia.edu):
> Checkpointing of multiple processes works by recording the tasks tree
> structure below a given task (usually this task is the container init).
>
> For a given task, do a DFS scan of the tasks tree and collect them
> into an array (keeping a reference to each task). Using DFS simplifies
> the recreation of tasks either in user space or kernel space. For each
> task collected, test if it can be checkpointed, and save its pid, tgid,
> and ppid.
>
> The actual work is divided into two passes: a first scan counts the
> tasks, then memory is allocated and a second scan fills the array.
>
> The logic is suitable for creation of processes during restart either
> in userspace or by the kernel.
>
> Currently we ignore threads and zombies, as well as session ids.
>
> Signed-off-by: Oren Laadan <orenl@...columbia.edu>
Looks good.
Acked-by: Serge Hallyn <serue@...ibm.com>
thanks,
-serge
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists