Re: [PATCH 2/7] containers (V7): Cpusets hooked into containers

2007-03-07 Thread Paul Menage
On 3/7/07, Srivatsa Vaddagiri <[EMAIL PROTECTED]> wrote: On Mon, Feb 12, 2007 at 12:15:23AM -0800, [EMAIL PROTECTED] wrote: > - mutex_lock(&callback_mutex); > - list_add(&cs->sibling, &cs->parent->children); > + cont->cpuset = cs; > + cs->container = cont; > number_of_cpuset

Re: [PATCH 2/7] containers (V7): Cpusets hooked into containers

2007-03-07 Thread Paul Menage
On 3/7/07, Srivatsa Vaddagiri <[EMAIL PROTECTED]> wrote: On Mon, Feb 12, 2007 at 12:15:23AM -0800, [EMAIL PROTECTED] wrote: > /* > @@ -913,12 +537,14 @@ static int update_nodemask(struct cpuset > int migrate; > int fudge; > int retval; > + struct container *cont; This seem

Re: [PATCH 2/7] containers (V7): Cpusets hooked into containers

2007-03-07 Thread Srivatsa Vaddagiri
On Mon, Feb 12, 2007 at 12:15:23AM -0800, [EMAIL PROTECTED] wrote: > - mutex_lock(&callback_mutex); > - list_add(&cs->sibling, &cs->parent->children); > + cont->cpuset = cs; > + cs->container = cont; > number_of_cpusets++; > - mutex_unlock(&callback_mutex); What's the rul

Re: [PATCH 2/7] containers (V7): Cpusets hooked into containers

2007-03-07 Thread Srivatsa Vaddagiri
On Mon, Feb 12, 2007 at 12:15:23AM -0800, [EMAIL PROTECTED] wrote: > /* > @@ -913,12 +537,14 @@ static int update_nodemask(struct cpuset > int migrate; > int fudge; > int retval; > + struct container *cont; This seems to be redundant? -- Regards, vatsa - To unsubscribe fro

Re: [PATCH 2/7] containers (V7): Cpusets hooked into containers

2007-02-15 Thread Paul Menage
On 2/15/07, Serge E. Hallyn <[EMAIL PROTECTED]> wrote: > > config CONTAINERS > - bool "Container support" > - help > - This option will let you create and manage process containers, > - which can be used to aggregate multiple processes, e.g. for > - the purposes of reso

Re: [PATCH 2/7] containers (V7): Cpusets hooked into containers

2007-02-15 Thread Serge E. Hallyn
Quoting [EMAIL PROTECTED] ([EMAIL PROTECTED]): > Index: container-2.6.20/init/Kconfig > === > --- container-2.6.20.orig/init/Kconfig > +++ container-2.6.20/init/Kconfig > @@ -239,17 +239,12 @@ config IKCONFIG_PROC > through /pr