Linux Container Development
 help / color / mirror / Atom feed
From: Oren Laadan <orenl-eQaUEPhvms7ENvBUuze7eA@public.gmane.org>
To: "Serge E. Hallyn" <serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: xemul-bzQdu9zFT3WakBO8gow8eQ@public.gmane.org,
	containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org,
	mingo-X9Un+BFzKDI@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	dave-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org,
	hch-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org,
	akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org,
	torvalds-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org,
	Alexey Dobriyan
	<adobriyan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Subject: Re: [PATCH 10/30] cr: core stuff
Date: Tue, 14 Apr 2009 01:52:35 -0400	[thread overview]
Message-ID: <49E424A3.60606@cs.columbia.edu> (raw)
In-Reply-To: <20090413214701.GA24509-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>


Hi,

Serge E. Hallyn wrote:
> Quoting Alexey Dobriyan (adobriyan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org):
> 
> 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

Actually, this eliminates the possibility to checkpoint a subtree of
tasks, which (under some obvious constraints) can be a handy feature.

> 2. kernel freezes tasks

IMHO better to do it in userspace - that way userspace can accomplish
other tasks while tasks are frozen, such as snapshot the filesystem,
or block/unblock the network.

Is there a good argument to do it kernel ?

> 3. no objhash taking references
> 4. no hbuf
> 5. always require CAP_SYS_ADMIN

I'm now convinced (thanks, Serge!) that it's better not to require
this unless we strictly have to.

Oren.

  parent reply	other threads:[~2009-04-14  5:52 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20090410023539.GK27788@x200.localdomain>
     [not found] ` <20090410023539.GK27788-2ev+ksY9ol182hYKe6nXyg@public.gmane.org>
2009-04-10  9:35   ` [PATCH 10/30] cr: core stuff Ingo Molnar
     [not found]     ` <20090410093520.GH17962-X9Un+BFzKDI@public.gmane.org>
2009-04-10 11:43       ` Alexey Dobriyan
     [not found]     ` <20090410114326.GC3311@x200.localdomain>
     [not found]       ` <20090410114326.GC3311-2ev+ksY9ol182hYKe6nXyg@public.gmane.org>
2009-04-10 16:19         ` Brian Haley
     [not found]       ` <49DF718B.9050809@hp.com>
     [not found]         ` <49DF718B.9050809-VXdhtT5mjnY@public.gmane.org>
2009-04-13  8:10           ` Alexey Dobriyan
2009-04-13 21:47   ` Serge E. Hallyn
2009-04-14  5:22   ` Oren Laadan
     [not found] ` <20090413214701.GA24509@us.ibm.com>
     [not found]   ` <20090413214701.GA24509-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-04-14  5:52     ` Oren Laadan [this message]
     [not found]       ` <49E424A3.60606-eQaUEPhvms7ENvBUuze7eA@public.gmane.org>
2009-04-14 15:29         ` Serge E. Hallyn
     [not found]       ` <20090414152951.GA7703@us.ibm.com>
     [not found]         ` <20090414152951.GA7703-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-04-14 16:37           ` "partial" container checkpoint Dave Hansen
     [not found]         ` <1239727023.32604.69.camel@nimitz>
2009-04-14 17:30           ` Kevin Fox
2009-04-15  0:06           ` Paul Menage
2009-04-14 15:27     ` [PATCH 10/30] cr: core stuff Alexey Dobriyan
     [not found]   ` <20090414152752.GC27461@x200.localdomain>
     [not found]     ` <20090414152752.GC27461-2ev+ksY9ol182hYKe6nXyg@public.gmane.org>
2009-04-14 15:41       ` Dave Hansen
2009-04-14 15:41       ` Serge E. Hallyn
     [not found]     ` <20090414154139.GA8085@us.ibm.com>
     [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]       ` <20090414170419.GD27923@x200.localdomain>
     [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
     [not found]         ` <1239729800.32604.92.camel@nimitz>
2009-05-01 12:56           ` checkpoint/restart: taking refcounts on kernel objects Alexey Dobriyan
     [not found]     ` <1239723694.32604.62.camel@nimitz>
2009-04-14 16:57       ` [PATCH 10/30] cr: core stuff Alexey Dobriyan
     [not found] ` <49E41D7B.8030003@cs.columbia.edu>
     [not found]   ` <49E41D7B.8030003-eQaUEPhvms7ENvBUuze7eA@public.gmane.org>
2009-04-14 16:00     ` Alexey Dobriyan
     [not found]   ` <20090414160003.GD27461@x200.localdomain>
     [not found]     ` <1239727190.32604.72.camel@nimitz>
2009-04-14 17:28       ` Alexey Dobriyan
     [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
     [not found]     ` <49E4D3A9.6020100@cs.columbia.edu>
     [not found]       ` <49E4D3A9.6020100-eQaUEPhvms7ENvBUuze7eA@public.gmane.org>
2009-04-14 19:00         ` Alexey Dobriyan
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=49E424A3.60606@cs.columbia.edu \
    --to=orenl-eqauephvms7envbuuze7ea@public.gmane.org \
    --cc=adobriyan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org \
    --cc=containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
    --cc=dave-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org \
    --cc=hch-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=mingo-X9Un+BFzKDI@public.gmane.org \
    --cc=serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org \
    --cc=torvalds-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org \
    --cc=xemul-bzQdu9zFT3WakBO8gow8eQ@public.gmane.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox