Thread (18 messages) 18 messages, 5 authors, 2012-11-20

Re: [PATCHSET cgroup/for-3.8] netcls_cgroup: implement hierarchy support

From: Tejun Heo <hidden>
Date: 2012-11-19 19:01:12
Also in: lkml

Hello, Daniel.

On Mon, Nov 19, 2012 at 02:59:58PM +0100, Daniel Wagner wrote:
Sorry to bring this up again: how should to root cgroup behave? If
the ultimate goal to have only one single hierarchy then I would
assume it is important that the semantic for all controllers are the
same. As you pointed out the networking controllers are kind of a
strange beast in the zoo of the cgroup controllers.  But still I
would assume that all root controllers behave the same. memcg or
cpu* are not expected to do any work in the root cgroup.
I think the implemented behavior is fine.  memcg or cpu* don't do
anything on root cgroup as it doesn't make much (or any) sense.  For
net_prio and cls, I don't see any reason to treat root cgroup
differently and how that would cause conflict when mounted together
with other controllers.  So, yeah, things seem okay to me.

Thanks.

-- 
tejun
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help