On Wed, 2006-09-20 at 11:32 +0900, KAMEZAWA Hiroyuki wrote: > On Thu, 14 Sep 2006 18:42:30 -0700 > Rohit Seth <[EMAIL PROTECTED]> 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 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ ckrm-tech mailing list https://lists.sourceforge.net/lists/listinfo/ckrm-tech