[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1158769175.8574.1.camel@galaxy.corp.google.com>
Date: Wed, 20 Sep 2006 09:19:35 -0700
From: Rohit Seth <rohitseth@...gle.com>
To: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
Cc: akpm@...l.org, devel@...nvz.org, ckrm-tech@...ts.sourceforge.net,
linux-kernel@...r.kernel.org
Subject: Re: [Patch04/05]- Containers: Core Container support
On Wed, 2006-09-20 at 11:32 +0900, KAMEZAWA Hiroyuki wrote:
> On Thu, 14 Sep 2006 18:42:30 -0700
> Rohit Seth <rohitseth@...gle.com> wrote:
>
> > This patch has the definitions and other core part of container support
> > implementing all the counters for different resources (like tasks, anon
> > memory etc.).
> >
>
> > +int container_add_task(struct task_struct *task, struct task_struct *parent,
> > + struct container_struct *ctn)
> > +{
>
> What should happen if a process of thread-group is newly added/removed ?
> (I think only thread-group-leader can be added/removed)
>
If there are multiple threads then each thread will need to be
individually added into the container. This keeps the semantics clean
and implementation simple.
-rohit
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists