aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/cgroups/cgroups.txt
diff options
context:
space:
mode:
authorRami Rosen <ramirose@gmail.com>2013-04-10 07:41:17 -0400
committerTejun Heo <tj@kernel.org>2013-04-10 13:46:59 -0400
commit84cfb6ab484b442d5115eb3baf9db7d74a3ea626 (patch)
tree3a3d52372b7b6f0e42662103baa8f0ef24789bf2 /Documentation/cgroups/cgroups.txt
parent8adf12b0ffd0a10340bab355e586f8533a69630d (diff)
cgroup: remove bind() method from cgroup_subsys.
The bind() method of cgroup_subsys is not used in any of the controllers (cpuset, freezer, blkio, net_cls, memcg, net_prio, devices, perf, hugetlb, cpu and cpuacct) tj: Removed the entry on ->bind() from Documentation/cgroups/cgroups.txt. Also updated a couple paragraphs which were suggesting that dynamic re-binding may be implemented. It's not gonna. Signed-off-by: Rami Rosen <ramirose@gmail.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'Documentation/cgroups/cgroups.txt')
-rw-r--r--Documentation/cgroups/cgroups.txt20
1 files changed, 5 insertions, 15 deletions
diff --git a/Documentation/cgroups/cgroups.txt b/Documentation/cgroups/cgroups.txt
index 638bf17ff869..2b51e12ce178 100644
--- a/Documentation/cgroups/cgroups.txt
+++ b/Documentation/cgroups/cgroups.txt
@@ -211,10 +211,9 @@ matches, and any of the requested subsystems are in use in an existing
211hierarchy, the mount will fail with -EBUSY. Otherwise, a new hierarchy 211hierarchy, the mount will fail with -EBUSY. Otherwise, a new hierarchy
212is activated, associated with the requested subsystems. 212is activated, associated with the requested subsystems.
213 213
214It's not currently possible to bind a new subsystem to an active 214It's not possible to bind a new subsystem to an active cgroup
215cgroup hierarchy, or to unbind a subsystem from an active cgroup 215hierarchy, or to unbind a subsystem from an active cgroup
216hierarchy. This may be possible in future, but is fraught with nasty 216hierarchy.
217error-recovery issues.
218 217
219When a cgroup filesystem is unmounted, if there are any 218When a cgroup filesystem is unmounted, if there are any
220child cgroups created below the top-level cgroup, that hierarchy 219child cgroups created below the top-level cgroup, that hierarchy
@@ -382,10 +381,8 @@ To Specify a hierarchy's release_agent:
382 381
383Note that specifying 'release_agent' more than once will return failure. 382Note that specifying 'release_agent' more than once will return failure.
384 383
385Note that changing the set of subsystems is currently only supported 384Note that changing the set of subsystems is only supported when the
386when the hierarchy consists of a single (root) cgroup. Supporting 385hierarchy consists of a single (root) cgroup.
387the ability to arbitrarily bind/unbind subsystems from an existing
388cgroup hierarchy is intended to be implemented in the future.
389 386
390Then under /sys/fs/cgroup/rg1 you can find a tree that corresponds to the 387Then under /sys/fs/cgroup/rg1 you can find a tree that corresponds to the
391tree of the cgroups in the system. For instance, /sys/fs/cgroup/rg1 388tree of the cgroups in the system. For instance, /sys/fs/cgroup/rg1
@@ -643,13 +640,6 @@ void exit(struct task_struct *task)
643 640
644Called during task exit. 641Called during task exit.
645 642
646void bind(struct cgroup *root)
647(cgroup_mutex held by caller)
648
649Called when a cgroup subsystem is rebound to a different hierarchy
650and root cgroup. Currently this will only involve movement between
651the default hierarchy (which never has sub-cgroups) and a hierarchy
652that is being created/destroyed (and hence has no sub-cgroups).
653 643
6544. Extended attribute usage 6444. Extended attribute usage
655=========================== 645===========================