mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "KOSAKI Motohiro" <kosaki.motohiro@jp.fujitsu.com>
To: "Daisuke Nishimura" <nishimura@mxp.nes.nec.co.jp>
Cc: containers@lists.osdl.org, LKML <linux-kernel@vger.kernel.org>,
	"Li Zefan" <lizf@cn.fujitsu.com>,
	"Paul Menage" <menage@google.com>
Subject: Re: [RFC][PATCH] introduce task cgroup (#task restrictioon for prevent fork bomb by cgroup)
Date: Thu, 5 Jun 2008 19:56:32 +0900	[thread overview]
Message-ID: <2f11576a0806050356ua1d86fo3a46863d21f195f5@mail.gmail.com> (raw)
In-Reply-To: <20080605142320.cdc8b21a.nishimura@mxp.nes.nec.co.jp>

Hi Nishimura-san,

Thanks good point out.

>> +#include <linux/res_counter.h>
> I don't think it's needed.
> Or, are you planning to implement this feature by using res_counter?

your are right.
my early version use res_counter, but it isn't used currently.


>> +     spin_lock(&taskcg->lock);
>> +     if (max_tasks < taskcg->nr_tasks)
>> +             return -EBUSY;
> need spin_unlock().

Yes, of cource.
I'll fix it.

Thanks!

  reply	other threads:[~2008-06-05 10:56 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-05  4:43 KOSAKI Motohiro
2008-06-05  5:13 ` KAMEZAWA Hiroyuki
2008-06-05  5:23 ` Daisuke Nishimura
2008-06-05 10:56   ` KOSAKI Motohiro [this message]
2008-06-05  5:47 ` Li Zefan
2008-06-05 10:53   ` KOSAKI Motohiro
2008-06-05  9:27 ` Dhaval Giani
2008-06-05 10:51   ` KOSAKI Motohiro
2008-06-05 21:52 ` Daniel Hokka Zakrisson
2008-06-07  7:41   ` KOSAKI Motohiro
2008-06-07  9:12   ` Paul Menage
2008-06-05 22:04 ` Paul Menage
2008-06-07  6:46   ` KOSAKI Motohiro

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=2f11576a0806050356ua1d86fo3a46863d21f195f5@mail.gmail.com \
    --to=kosaki.motohiro@jp.fujitsu.com \
    --cc=containers@lists.osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lizf@cn.fujitsu.com \
    --cc=menage@google.com \
    --cc=nishimura@mxp.nes.nec.co.jp \
    /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

all inboxes | Powered by JetHome®