Re: [PATCH] new cgroup controller "fork"

From: Glauber Costa
Date: Thu Nov 03 2011 - 13:50:45 EST


On 11/03/2011 03:48 PM, Max Kellermann wrote:
On 2011/11/03 18:26, Glauber Costa<glommer@xxxxxxxxxxxxx> wrote:
On 11/03/2011 03:16 PM, Max Kellermann wrote:
but is different from my controller.

How so?

Once the "remaining" counter has reached zero, no further forks are
possible, no matter how many processes are left. It is a fork
counter, not a process counter.

Let's say: Frederic's controller counts "things" that exists
(processes), and my controller counts "verbs" or "ations" (fork()).

Max
That still seems to be up to admin. If no processes are removed from the cgroup or included in the cgroup, the only action/verb the counter
is concerned about is to fork. Under this circumstance, both seem equivalent from my PoV.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/