From: "Serge E. Hallyn" <serue@us.ibm.com>
To: Alexey Dobriyan <adobriyan@gmail.com>
Cc: akpm@linux-foundation.org, containers@lists.linux-foundation.org,
xemul@parallels.com, dave@linux.vnet.ibm.com, mingo@elte.hu,
orenl@cs.columbia.edu, hch@infradead.org,
torvalds@linux-foundation.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 10/30] cr: core stuff
Date: Tue, 14 Apr 2009 10:41:39 -0500 [thread overview]
Message-ID: <20090414154139.GA8085@us.ibm.com> (raw)
In-Reply-To: <20090414152752.GC27461@x200.localdomain>
Quoting Alexey Dobriyan (adobriyan@gmail.com):
> On Mon, Apr 13, 2009 at 04:47:01PM -0500, Serge E. Hallyn wrote:
> > Quoting Alexey Dobriyan (adobriyan@gmail.com):
> >
> > Hi Alexey,
> >
> > as far as I can see, the main differences between this patch and the
> > equivalent in Oren's tree are:
> >
> > 1. kernel auto-selects container init to freeze
>
> Note, auto-select part was dropped, userspace is required to pass pid of
> container init exactly. This was done to keep semantic of checkpoint(2)
> small and extendable.
sys_checkpoint() in this patch still finds the child_reaper of the
passed-in pid, doesn't it? Or are you saying that a later patch in
this set removes that?
> > 2. kernel freezes tasks
> > 3. no objhash taking references
>
> That's because none needed.
Right while I have opinions on some things in this list, I didn't
mean to imply positions on these items. My question was: are
there are differences you want to call out?
> > 4. no hbuf
>
> hbuf is an optimization to not allocate/free memory for every image.
> For a start it's unnecessary complication, I just kzalloc/dump/kfree.
>
> > 5. always require CAP_SYS_ADMIN
> >
> > Are there other differences which you would consider meaningful? Which
> > do you consider the most important?
> >
> > Also, since Dave introduced the fops->checkpoint(), we (or at least I)
> > have been struck by the ugly assymetry with checkpoint() being in fops,
> > and restart() not. Do you have an idea for fixing that?
>
> Module can legally support C/R for its files.
> In the end it most certainly will end up with module registering restart
Which module? The module defining a filesystem?
In that case I'm just not clear on how the restart code will know which
fs's file_operations to use to pick a fops->restart() fn.
> hook for file type N.
>
> Or module registering hook to restart object type N.
>
> This is for discussion.
Ok, it's just something I've wondered (with both patchsets).
thanks,
-serge
next prev parent reply other threads:[~2009-04-14 15:42 UTC|newest]
Thread overview: 56+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-10 2:35 [PATCH 10/30] cr: core stuff Alexey Dobriyan
[not found] ` <20090410023539.GK27788-2ev+ksY9ol182hYKe6nXyg@public.gmane.org>
2009-04-10 9:35 ` Ingo Molnar
2009-04-10 9:35 ` Ingo Molnar
[not found] ` <20090410093520.GH17962-X9Un+BFzKDI@public.gmane.org>
2009-04-10 11:43 ` Alexey Dobriyan
2009-04-10 11:43 ` Alexey Dobriyan
2009-04-10 16:19 ` Brian Haley
[not found] ` <49DF718B.9050809-VXdhtT5mjnY@public.gmane.org>
2009-04-13 8:10 ` Alexey Dobriyan
2009-04-13 8:10 ` Alexey Dobriyan
[not found] ` <20090410114326.GC3311-2ev+ksY9ol182hYKe6nXyg@public.gmane.org>
2009-04-10 16:19 ` Brian Haley
2009-04-13 21:47 ` Serge E. Hallyn
2009-04-14 5:22 ` Oren Laadan
2009-04-13 21:47 ` Serge E. Hallyn
2009-04-14 15:27 ` Alexey Dobriyan
[not found] ` <20090414152752.GC27461-2ev+ksY9ol182hYKe6nXyg@public.gmane.org>
2009-04-14 15:41 ` Dave Hansen
2009-04-14 15:41 ` Serge E. Hallyn
2009-04-14 15:41 ` Dave Hansen
2009-04-14 16:57 ` Alexey Dobriyan
2009-04-14 16:57 ` Alexey Dobriyan
2009-04-14 15:41 ` Serge E. Hallyn [this message]
2009-04-14 16:48 ` Dave Hansen
2009-04-14 17:00 ` Alexey Dobriyan
2009-04-14 17:04 ` Alexey Dobriyan
[not found] ` <20090414170419.GD27923-2ev+ksY9ol182hYKe6nXyg@public.gmane.org>
2009-04-14 17:23 ` checkpoint/restart: taking refcounts on kernel objects Dave Hansen
2009-04-14 17:43 ` [PATCH 10/30] cr: core stuff Oren Laadan
2009-04-14 17:23 ` checkpoint/restart: taking refcounts on kernel objects Dave Hansen
2009-05-01 12:56 ` Alexey Dobriyan
2009-05-01 12:56 ` Alexey Dobriyan
2009-04-14 17:43 ` [PATCH 10/30] cr: core stuff Oren Laadan
[not found] ` <20090414154139.GA8085-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-04-14 16:48 ` Dave Hansen
2009-04-14 17:00 ` Alexey Dobriyan
2009-04-14 17:04 ` Alexey Dobriyan
[not found] ` <20090413214701.GA24509-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-04-14 5:52 ` Oren Laadan
2009-04-14 5:52 ` Oren Laadan
2009-04-14 15:29 ` Serge E. Hallyn
2009-04-14 16:37 ` "partial" container checkpoint Dave Hansen
2009-04-14 17:30 ` Kevin Fox
2009-04-14 17:30 ` Kevin Fox
2009-04-15 0:06 ` Paul Menage
2009-04-15 0:06 ` Paul Menage
[not found] ` <20090414152951.GA7703-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-04-14 16:37 ` Dave Hansen
[not found] ` <49E424A3.60606-eQaUEPhvms7ENvBUuze7eA@public.gmane.org>
2009-04-14 15:29 ` [PATCH 10/30] cr: core stuff Serge E. Hallyn
2009-04-14 15:27 ` Alexey Dobriyan
2009-04-14 5:22 ` Oren Laadan
[not found] ` <49E41D7B.8030003-eQaUEPhvms7ENvBUuze7eA@public.gmane.org>
2009-04-14 16:00 ` Alexey Dobriyan
2009-04-14 16:00 ` Alexey Dobriyan
2009-04-14 16:39 ` Dave Hansen
2009-04-14 17:28 ` Alexey Dobriyan
2009-04-14 17:28 ` Alexey Dobriyan
2009-04-14 18:19 ` Oren Laadan
[not found] ` <49E4D3A9.6020100-eQaUEPhvms7ENvBUuze7eA@public.gmane.org>
2009-04-14 19:00 ` Alexey Dobriyan
2009-04-14 19:00 ` Alexey Dobriyan
2009-04-14 19:26 ` Oren Laadan
[not found] ` <20090414160003.GD27461-2ev+ksY9ol182hYKe6nXyg@public.gmane.org>
2009-04-14 16:39 ` Dave Hansen
2009-04-14 18:19 ` Oren Laadan
2009-04-14 19:26 ` Oren Laadan
-- strict thread matches above, loose matches on Subject: below --
2009-04-10 2:35 Alexey Dobriyan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090414154139.GA8085@us.ibm.com \
--to=serue@us.ibm.com \
--cc=adobriyan@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=containers@lists.linux-foundation.org \
--cc=dave@linux.vnet.ibm.com \
--cc=hch@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=orenl@cs.columbia.edu \
--cc=torvalds@linux-foundation.org \
--cc=xemul@parallels.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.