lkml.org 
[lkml]   [2009]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 10/30] cr: core stuff
On Tue, Apr 14, 2009 at 10:41:39AM -0500, Serge E. Hallyn wrote:
> 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?

Sorry? "none needed" is relevant to only item 3. If tasks don't
dissapear during checkpoint, why would netns dissapear.
Taking refcount on checkpoint(2) is likely unneeded.

But it's low-level detail anyway.


\
 
 \ /
  Last update: 2009-04-14 19:07    [from the cache]
©2003-2011 Jasper Spaans