mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Rohit Seth <rohitseth@google.com>
To: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: akpm@osdl.org, devel@openvz.org, ckrm-tech@lists.sourceforge.net,
	linux-kernel@vger.kernel.org
Subject: Re: [Patch04/05]- Containers: Core Container support
Date: Wed, 20 Sep 2006 09:19:35 -0700	[thread overview]
Message-ID: <1158769175.8574.1.camel@galaxy.corp.google.com> (raw)
In-Reply-To: <20060920113238.29745a4b.kamezawa.hiroyu@jp.fujitsu.com>

On Wed, 2006-09-20 at 11:32 +0900, KAMEZAWA Hiroyuki wrote:
> On Thu, 14 Sep 2006 18:42:30 -0700
> Rohit Seth <rohitseth@google.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


      reply	other threads:[~2006-09-20 16:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-15  1:42 Rohit Seth
2006-09-20  2:32 ` KAMEZAWA Hiroyuki
2006-09-20 16:19   ` Rohit Seth [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1158769175.8574.1.camel@galaxy.corp.google.com \
    --to=rohitseth@google.com \
    --cc=akpm@osdl.org \
    --cc=ckrm-tech@lists.sourceforge.net \
    --cc=devel@openvz.org \
    --cc=kamezawa.hiroyu@jp.fujitsu.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome