diff options
author | Tejun Heo <tj@kernel.org> | 2012-11-22 07:32:47 -0800 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2012-11-22 07:32:47 -0800 |
commit | 811d8d6ff59cbc7d618dfa2cd339ba6c3691a7eb (patch) | |
tree | f060cb5cb6e861b22660f54f310d5eb62ce9359a /virt | |
parent | 666b0ebe2b04e69583c279becf27a653ba4a894c (diff) | |
download | op-kernel-dev-811d8d6ff59cbc7d618dfa2cd339ba6c3691a7eb.zip op-kernel-dev-811d8d6ff59cbc7d618dfa2cd339ba6c3691a7eb.tar.gz |
netprio_cgroup: allow nesting and inherit config on cgroup creation
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
differently - they inherit priorities from the root cgroup on creation
instead of starting with 0. This is unfortunate but not doing so is
much crazier.
Signed-off-by: Tejun Heo <tj@kernel.org>
Tested-and-Acked-by: Daniel Wagner <daniel.wagner@bmw-carit.de>
Acked-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions