Re: [PATCH v2 02/13] memcg: Kernel memory accounting infrastructure.

From: KAMEZAWA Hiroyuki
Date: Wed Mar 14 2012 - 20:50:18 EST


(2012/03/14 21:29), Glauber Costa wrote:


>> - What happens when a new cgroup created ?
>
> mem_cgroup_create() is called =)
> Heh, jokes apart, I don't really follow here. What exactly do you mean?
> There shouldn't be anything extremely out of the ordinary.
>


Sorry, too short words.

Assume a cgroup with
cgroup.memory.limit_in_bytes=1G
cgroup.memory.kmem.limit_in_bytes=400M

When a child cgroup is created, what should be the default values.
'unlimited' as current implementation ?
Hmm..maybe yes.

Thanks,
-Kame

--
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/