Re: [PATCH 7/7] netprio_cgroup: allow nesting and inherit config on cgroup creation

2012-11-20 Thread Daniel Wagner
Hi Tejun, On 20.11.2012 15:40, Tejun Heo wrote: Hello, Daniel. On Tue, Nov 20, 2012 at 09:57:14AM +0100, Daniel Wagner wrote: -static void cgrp_css_free(struct cgroup *cgrp) +static int cgrp_css_online(struct cgroup *cgrp) { - struct cgroup_netprio_state *cs = cgrp_netprio_state(cgrp);

Re: [PATCH 7/7] netprio_cgroup: allow nesting and inherit config on cgroup creation

2012-11-20 Thread Tejun Heo
Hello, Daniel. On Tue, Nov 20, 2012 at 09:57:14AM +0100, Daniel Wagner wrote: > >-static void cgrp_css_free(struct cgroup *cgrp) > >+static int cgrp_css_online(struct cgroup *cgrp) > > { > >-struct cgroup_netprio_state *cs = cgrp_netprio_state(cgrp); > >+struct cgroup *parent = cgrp->pare

Re: [PATCH 7/7] netprio_cgroup: allow nesting and inherit config on cgroup creation

2012-11-20 Thread Daniel Wagner
Hi Tejun, On 20.11.2012 09:30, Tejun Heo wrote: Inherit netprio configuration from ->css_online(), allow nesting and remove .broken_hierarchy marking. This makes netprio_cgroup's behavior match netcls_cgroup's. Note that this patch changes userland-visible behavior. Nesting is allowed and the

[PATCH 7/7] netprio_cgroup: allow nesting and inherit config on cgroup creation

2012-11-20 Thread Tejun Heo
Inherit netprio configuration from ->css_online(), allow nesting and remove .broken_hierarchy marking. This makes netprio_cgroup's behavior match netcls_cgroup's. Note that this patch changes userland-visible behavior. Nesting is allowed and the first level cgroups below the root cgroup behave d

[PATCH 7/7] netprio_cgroup: allow nesting and inherit config on cgroup creation

2012-11-19 Thread Tejun Heo
Inherit netprio configuration from ->css_online(), allow nesting and remove .broken_hierarchy marking. This makes netprio_cgroup's behavior match netcls_cgroup's. Note that this patch changes userland-visible behavior. Nesting is allowed and the first level cgroups below the root cgroup behave d