aboutsummaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorAristeu Rozanski <[email protected]>2013-02-15 11:55:46 -0500
committerTejun Heo <[email protected]>2013-03-20 07:50:17 -0700
commit1909554c9715e4d032497993bb56f2726bfa89ae (patch)
treedb3a67d9f29afd47e8d827cebeabd5f87a7a1225 /lib/debugobjects.c
parentc39a2a3018f8065cb5ea38b0314c1bbedb2cfa0d (diff)
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 <[email protected]> Acked-by: Serge Hallyn <[email protected]> Cc: Tejun Heo <[email protected]> Cc: Serge Hallyn <[email protected]> Signed-off-by: Aristeu Rozanski <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions