[Devel] Re: Namespaces exhausted CLONE_XXX bits problem

2008-01-15 Thread Cedric Le Goater
Serge E. Hallyn wrote: > Quoting Pavel Emelyanov ([EMAIL PROTECTED]): >> Dave Hansen wrote: >>> On Tue, 2008-01-15 at 11:25 +0300, Pavel Emelyanov wrote: Hmm. I have an idea how to make this w/o a new system call. This might look wierd, but. Why not stopple the last bit with a CLONE_NEWCL

[Devel] Re: Namespaces exhausted CLONE_XXX bits problem

2008-01-15 Thread Serge E. Hallyn
Quoting Pavel Emelyanov ([EMAIL PROTECTED]): > Dave Hansen wrote: > > On Tue, 2008-01-15 at 11:25 +0300, Pavel Emelyanov wrote: > >> Hmm. I have an idea how to make this w/o a new system call. This might > >> look wierd, but. Why not stopple the last bit with a CLONE_NEWCLONE and > >> consider the

[Devel] Re: Namespaces exhausted CLONE_XXX bits problem

2008-01-15 Thread Serge E. Hallyn
Quoting Cedric Le Goater ([EMAIL PROTECTED]): > Serge E. Hallyn wrote: > > Quoting Cedric Le Goater ([EMAIL PROTECTED]): > >> to be more precise : > >> > >>long sys_clone_something(struct clone_something_args args) > >> > >> and > >> > >>long sys_unshare_something(struct unshare_something

[Devel] Re: Namespaces exhausted CLONE_XXX bits problem

2008-01-15 Thread Pavel Emelyanov
Cedric Le Goater wrote: > Pavel Emelyanov wrote: >> Cedric Le Goater wrote: >>> Pavel Emelyanov wrote: Dave Hansen wrote: > On Mon, 2008-01-14 at 16:36 -0500, Oren Laadan wrote: >> I second the concern of running out of 64 bits of flags. In fact, the >> problem with the flags is li

[Devel] Re: Namespaces exhausted CLONE_XXX bits problem

2008-01-15 Thread Cedric Le Goater
Pavel Emelyanov wrote: > Cedric Le Goater wrote: >> Pavel Emelyanov wrote: >>> Dave Hansen wrote: On Mon, 2008-01-14 at 16:36 -0500, Oren Laadan wrote: > I second the concern of running out of 64 bits of flags. In fact, the > problem with the flags is likely to be valid outside our con

[Devel] Re: Namespaces exhausted CLONE_XXX bits problem

2008-01-15 Thread Pavel Emelyanov
Dave Hansen wrote: > On Tue, 2008-01-15 at 11:25 +0300, Pavel Emelyanov wrote: >> Hmm. I have an idea how to make this w/o a new system call. This might >> look wierd, but. Why not stopple the last bit with a CLONE_NEWCLONE and >> consider the parent_tidptr/child_tidptr in this case as the pointer

[Devel] Re: Namespaces exhausted CLONE_XXX bits problem

2008-01-15 Thread Dave Hansen
On Tue, 2008-01-15 at 11:25 +0300, Pavel Emelyanov wrote: > Hmm. I have an idea how to make this w/o a new system call. This might > look wierd, but. Why not stopple the last bit with a CLONE_NEWCLONE and > consider the parent_tidptr/child_tidptr in this case as the pointer to > an array of extra

[Devel] Re: Namespaces exhausted CLONE_XXX bits problem

2008-01-15 Thread Pavel Emelyanov
Cedric Le Goater wrote: > Pavel Emelyanov wrote: >> Dave Hansen wrote: >>> On Mon, 2008-01-14 at 16:36 -0500, Oren Laadan wrote: I second the concern of running out of 64 bits of flags. In fact, the problem with the flags is likely to be valid outside our context, and general to the

[Devel] Re: Namespaces exhausted CLONE_XXX bits problem

2008-01-15 Thread Cedric Le Goater
Pavel Emelyanov wrote: > Dave Hansen wrote: >> On Mon, 2008-01-14 at 16:36 -0500, Oren Laadan wrote: >>> I second the concern of running out of 64 bits of flags. In fact, the >>> problem with the flags is likely to be valid outside our context, and >>> general to the linux kernel soon. Should we no

[Devel] Re: Namespaces exhausted CLONE_XXX bits problem

2008-01-15 Thread Pavel Emelyanov
Dave Hansen wrote: > On Mon, 2008-01-14 at 16:36 -0500, Oren Laadan wrote: >> I second the concern of running out of 64 bits of flags. In fact, the >> problem with the flags is likely to be valid outside our context, and >> general to the linux kernel soon. Should we not discuss it there >> too ?

[Devel] Re: Namespaces exhausted CLONE_XXX bits problem

2008-01-14 Thread Cedric Le Goater
Serge E. Hallyn wrote: > Quoting Cedric Le Goater ([EMAIL PROTECTED]): >> to be more precise : >> >> long sys_clone_something(struct clone_something_args args) >> >> and >> >> long sys_unshare_something(struct unshare_something_args args) >> >> The arg passing will be slower bc of the

[Devel] Re: Namespaces exhausted CLONE_XXX bits problem

2008-01-14 Thread Dave Hansen
On Mon, 2008-01-14 at 16:36 -0500, Oren Laadan wrote: > I second the concern of running out of 64 bits of flags. In fact, the > problem with the flags is likely to be valid outside our context, and > general to the linux kernel soon. Should we not discuss it there > too ? It would be pretty easy

[Devel] Re: Namespaces exhausted CLONE_XXX bits problem

2008-01-14 Thread Oren Laadan
Serge E. Hallyn wrote: > Quoting Pavel Emelyanov ([EMAIL PROTECTED]): >> Serge E. Hallyn wrote: >>> Quoting Cedric Le Goater ([EMAIL PROTECTED]): to be more precise : long sys_clone_something(struct clone_something_args args) and long sys_unshare_somethi

[Devel] Re: Namespaces exhausted CLONE_XXX bits problem

2008-01-14 Thread Serge E. Hallyn
Quoting Pavel Emelyanov ([EMAIL PROTECTED]): > Serge E. Hallyn wrote: > > Quoting Cedric Le Goater ([EMAIL PROTECTED]): > >> to be more precise : > >> > >>long sys_clone_something(struct clone_something_args args) > >> > >> and > >> > >>long sys_unshare_something(struct unshare_something_

[Devel] Re: Namespaces exhausted CLONE_XXX bits problem

2008-01-14 Thread Pavel Emelyanov
Serge E. Hallyn wrote: > Quoting Cedric Le Goater ([EMAIL PROTECTED]): >> to be more precise : >> >> long sys_clone_something(struct clone_something_args args) >> >> and >> >> long sys_unshare_something(struct unshare_something_args args) >> >> The arg passing will be slower bc of the

[Devel] Re: Namespaces exhausted CLONE_XXX bits problem

2008-01-14 Thread Serge E. Hallyn
Quoting Cedric Le Goater ([EMAIL PROTECTED]): > to be more precise : > > long sys_clone_something(struct clone_something_args args) > > and > > long sys_unshare_something(struct unshare_something_args args) > > The arg passing will be slower bc of the copy_from_user() but we will

[Devel] Re: Namespaces exhausted CLONE_XXX bits problem

2008-01-14 Thread Cedric Le Goater
>>> I started looking at PTYs/TTYs/Console to make the appropriate >>> namespace and suddenly remembered that we have already >>> exhausted all the CLONE_ bits in 32-bit mask. >> yes nearly. 1 left with the mq_namespace i'm going to send. > > Yup. That's why I think that we should first solve thi

[Devel] Re: Namespaces exhausted CLONE_XXX bits problem

2008-01-14 Thread Pavel Emelyanov
Cedric Le Goater wrote: > Hello Pavel ! > > Pavel Emelyanov wrote: >> Hi, guys! >> >> I started looking at PTYs/TTYs/Console to make the appropriate >> namespace and suddenly remembered that we have already >> exhausted all the CLONE_ bits in 32-bit mask. > > yes nearly. 1 left with the mq_namesp

[Devel] Re: Namespaces exhausted CLONE_XXX bits problem

2008-01-14 Thread Cedric Le Goater
Hello Pavel ! Pavel Emelyanov wrote: > Hi, guys! > > I started looking at PTYs/TTYs/Console to make the appropriate > namespace and suddenly remembered that we have already > exhausted all the CLONE_ bits in 32-bit mask. yes nearly. 1 left with the mq_namespace i'm going to send. > So, I recall