[Devel] Re: Per-instance devpts

2008-08-02 Thread sukadev
H. Peter Anvin [EMAIL PROTECTED] wrote: > Since the issue of PTY namespaces came up (and was rejected) back in April, > I have thought a little bit about changing ptys to be tied directly into a > devpts instance. devpts would then be a "normal" filesystem, which can be > mounted multiple times

[Devel] Re: [PATCH 4/6] user namespaces: add user_ns to super block

2008-08-02 Thread Serge E. Hallyn
Quoting Eric W. Biederman ([EMAIL PROTECTED]): > "Serge E. Hallyn" <[EMAIL PROTECTED]> writes: > > > Ok I wasn't thinking right. We still can't get to a user_ns from > > an inode *. > > > > So playing with this a bit tonight, it seems like the best way > > to pass the user_namespace up to the fs

[Devel] Re: Per-instance devpts

2008-08-02 Thread H. Peter Anvin
Kyle Moffett wrote: > > Here's my suggestion: > > By default, without any mount options, use the current "legacy" > behavior. The devpts filesystem would point to a "global" instance on > the whole box, controlled by the traditional /dev/ptmx device node. > There would *NOT* be a /dev/pts/ptmx n

[Devel] Re: [PATCH 3/6] Container Freezer: Implement freezer cgroup subsystem

2008-08-02 Thread Rafael J. Wysocki
On Saturday, 2 of August 2008, Cedric Le Goater wrote: > Matt Helsley wrote: > > On Sat, 2008-08-02 at 00:58 +0200, Rafael J. Wysocki wrote: > >> On Friday, 1 of August 2008, Matt Helsley wrote: > >>> This patch implements a new freezer subsystem in the control groups > >>> framework. > >>> It pro

[Devel] Re: [PATCH 2/6] Container Freezer: Make refrigerator always available

2008-08-02 Thread Rafael J. Wysocki
On Saturday, 2 of August 2008, Matt Helsley wrote: > > On Sat, 2008-08-02 at 00:53 +0200, Rafael J. Wysocki wrote: > > On Friday, 1 of August 2008, Matt Helsley wrote: > > > > > > On Fri, 2008-08-01 at 16:27 +0200, Thomas Petazzoni wrote: > > > > Hi, > > > > > > > > Le Thu, 31 Jul 2008 22:07:01

[Devel] Re: [PATCH 2/6] Container Freezer: Make refrigerator always available

2008-08-02 Thread Thomas Petazzoni
Le Fri, 01 Aug 2008 12:08:09 -0700, Matt Helsley <[EMAIL PROTECTED]> a écrit : > How about making it depend on a combination of CONFIG > variables? Here's an RFC PATCH. Completely untested. It solves my kernel size increase problem, so it's perfectly fine for me. Thanks! Thomas -- Thomas

[Devel] Re: Per-instance devpts

2008-08-02 Thread Bastian Blank
On Fri, Aug 01, 2008 at 11:12:21AM -0700, H. Peter Anvin wrote: > 2. Permissions on /dev/ptmx would not be persistent, and would have to > be set via devpts mount options (unless they're 0666 root.tty, which > would presumably be the default.) On Debian based systems /dev/ptmx is 0666 root

[Devel] Re: [PATCH 3/6] Container Freezer: Implement freezer cgroup subsystem

2008-08-02 Thread Cedric Le Goater
Matt Helsley wrote: > On Sat, 2008-08-02 at 00:58 +0200, Rafael J. Wysocki wrote: >> On Friday, 1 of August 2008, Matt Helsley wrote: >>> This patch implements a new freezer subsystem in the control groups >>> framework. >>> It provides a way to stop and resume execution of all tasks in a cgroup b