summaryrefslogtreecommitdiffstats
path: root/Documentation/cgroups
diff options
context:
space:
mode:
authorAristeu Rozanski <aris@redhat.com>2013-02-15 17:55:46 +0100
committerTejun Heo <tj@kernel.org>2013-03-20 15:50:17 +0100
commit1909554c9715e4d032497993bb56f2726bfa89ae (patch)
treedb3a67d9f29afd47e8d827cebeabd5f87a7a1225 /Documentation/cgroups
parentdevcg: prepare may_access() for hierarchy support (diff)
downloadlinux-1909554c9715e4d032497993bb56f2726bfa89ae.tar.xz
linux-1909554c9715e4d032497993bb56f2726bfa89ae.zip
devcg: use css_online and css_offline
Allocate resources and change behavior only when online. This is needed in order to determine if a node is suitable for hierarchy propagation or if it's being removed. Locking: Both functions take devcgroup_mutex to make changes to device_cgroup structure. Hierarchy propagation will also take devcgroup_mutex before walking the tree while walking the tree itself is protected by rcu lock. Acked-by: Tejun Heo <tj@kernel.org> Acked-by: Serge Hallyn <serge.hallyn@canonical.com> Cc: Tejun Heo <tj@kernel.org> Cc: Serge Hallyn <serge.hallyn@canonical.com> Signed-off-by: Aristeu Rozanski <aris@redhat.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'Documentation/cgroups')
0 files changed, 0 insertions, 0 deletions