提交 45ce80fb 编写于 作者: L Li Zefan 提交者: Linus Torvalds

cgroups: consolidate cgroup documents

Move Documentation/cpusets.txt and Documentation/controllers/* to
Documentation/cgroups/
Signed-off-by: NLi Zefan <lizf@cn.fujitsu.com>
Acked-by: NKAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Acked-by: NBalbir Singh <balbir@linux.vnet.ibm.com>
Acked-by: NPaul Menage <menage@google.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 23964d2d
CGROUPS CGROUPS
------- -------
Written by Paul Menage <menage@google.com> based on Documentation/cpusets.txt Written by Paul Menage <menage@google.com> based on
Documentation/cgroups/cpusets.txt
Original copyright statements from cpusets.txt: Original copyright statements from cpusets.txt:
Portions Copyright (C) 2004 BULL SA. Portions Copyright (C) 2004 BULL SA.
...@@ -68,7 +69,7 @@ On their own, the only use for cgroups is for simple job ...@@ -68,7 +69,7 @@ On their own, the only use for cgroups is for simple job
tracking. The intention is that other subsystems hook into the generic tracking. The intention is that other subsystems hook into the generic
cgroup support to provide new attributes for cgroups, such as cgroup support to provide new attributes for cgroups, such as
accounting/limiting the resources which processes in a cgroup can accounting/limiting the resources which processes in a cgroup can
access. For example, cpusets (see Documentation/cpusets.txt) allows access. For example, cpusets (see Documentation/cgroups/cpusets.txt) allows
you to associate a set of CPUs and a set of memory nodes with the you to associate a set of CPUs and a set of memory nodes with the
tasks in each cgroup. tasks in each cgroup.
......
...@@ -6,7 +6,7 @@ Because VM is getting complex (one of reasons is memcg...), memcg's behavior ...@@ -6,7 +6,7 @@ Because VM is getting complex (one of reasons is memcg...), memcg's behavior
is complex. This is a document for memcg's internal behavior. is complex. This is a document for memcg's internal behavior.
Please note that implementation details can be changed. Please note that implementation details can be changed.
(*) Topics on API should be in Documentation/controllers/memory.txt) (*) Topics on API should be in Documentation/cgroups/memory.txt)
0. How to record usage ? 0. How to record usage ?
2 objects are used. 2 objects are used.
......
...@@ -231,7 +231,7 @@ CPU bandwidth control purposes: ...@@ -231,7 +231,7 @@ CPU bandwidth control purposes:
This options needs CONFIG_CGROUPS to be defined, and lets the administrator This options needs CONFIG_CGROUPS to be defined, and lets the administrator
create arbitrary groups of tasks, using the "cgroup" pseudo filesystem. See create arbitrary groups of tasks, using the "cgroup" pseudo filesystem. See
Documentation/cgroups.txt for more information about this filesystem. Documentation/cgroups/cgroups.txt for more information about this filesystem.
Only one of these options to group tasks can be chosen and not both. Only one of these options to group tasks can be chosen and not both.
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
* *
* Author: Pavel Emelianov <xemul@openvz.org> * Author: Pavel Emelianov <xemul@openvz.org>
* *
* See Documentation/controllers/resource_counter.txt for more * See Documentation/cgroups/resource_counter.txt for more
* info about what this counter is. * info about what this counter is.
*/ */
......
...@@ -323,8 +323,8 @@ config CGROUP_SCHED ...@@ -323,8 +323,8 @@ config CGROUP_SCHED
This option allows you to create arbitrary task groups This option allows you to create arbitrary task groups
using the "cgroup" pseudo filesystem and control using the "cgroup" pseudo filesystem and control
the cpu bandwidth allocated to each such task group. the cpu bandwidth allocated to each such task group.
Refer to Documentation/cgroups.txt for more information Refer to Documentation/cgroups/cgroups.txt for more
on "cgroup" pseudo filesystem. information on "cgroup" pseudo filesystem.
endchoice endchoice
...@@ -335,10 +335,9 @@ menuconfig CGROUPS ...@@ -335,10 +335,9 @@ menuconfig CGROUPS
use with process control subsystems such as Cpusets, CFS, memory use with process control subsystems such as Cpusets, CFS, memory
controls or device isolation. controls or device isolation.
See See
- Documentation/cpusets.txt (Cpusets)
- Documentation/scheduler/sched-design-CFS.txt (CFS) - Documentation/scheduler/sched-design-CFS.txt (CFS)
- Documentation/cgroups/ (features for grouping, isolation) - Documentation/cgroups/ (features for grouping, isolation
- Documentation/controllers/ (features for resource control) and resource control)
Say N if unsure. Say N if unsure.
......
...@@ -568,7 +568,7 @@ update_domain_attr_tree(struct sched_domain_attr *dattr, struct cpuset *c) ...@@ -568,7 +568,7 @@ update_domain_attr_tree(struct sched_domain_attr *dattr, struct cpuset *c)
* load balancing domains (sched domains) as specified by that partial * load balancing domains (sched domains) as specified by that partial
* partition. * partition.
* *
* See "What is sched_load_balance" in Documentation/cpusets.txt * See "What is sched_load_balance" in Documentation/cgroups/cpusets.txt
* for a background explanation of this. * for a background explanation of this.
* *
* Does not return errors, on the theory that the callers of this * Does not return errors, on the theory that the callers of this
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册