Skip to content

Commit

Permalink
cgroups: consolidate cgroup documents
Browse files Browse the repository at this point in the history
Move Documentation/cpusets.txt and Documentation/controllers/* to
Documentation/cgroups/

Signed-off-by: Li Zefan <[email protected]>
Acked-by: KAMEZAWA Hiroyuki <[email protected]>
Acked-by: Balbir Singh <[email protected]>
Acked-by: Paul Menage <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Li Zefan authored and torvalds committed Jan 16, 2009
1 parent 23964d2 commit 45ce80f
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
5 changes: 3 additions & 2 deletions Documentation/cgroups/cgroups.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
CGROUPS
-------

Written by Paul Menage <[email protected]> based on Documentation/cpusets.txt
Written by Paul Menage <[email protected]> based on
Documentation/cgroups/cpusets.txt

Original copyright statements from cpusets.txt:
Portions Copyright (C) 2004 BULL SA.
Expand Down Expand Up @@ -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
cgroup support to provide new attributes for cgroups, such as
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
tasks in each cgroup.

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
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 ?
2 objects are used.
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion Documentation/scheduler/sched-design-CFS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ CPU bandwidth control purposes:

This options needs CONFIG_CGROUPS to be defined, and lets the administrator
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.

Expand Down
2 changes: 1 addition & 1 deletion include/linux/res_counter.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*
* Author: Pavel Emelianov <[email protected]>
*
* See Documentation/controllers/resource_counter.txt for more
* See Documentation/cgroups/resource_counter.txt for more
* info about what this counter is.
*/

Expand Down
9 changes: 4 additions & 5 deletions init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -323,8 +323,8 @@ config CGROUP_SCHED
This option allows you to create arbitrary task groups
using the "cgroup" pseudo filesystem and control
the cpu bandwidth allocated to each such task group.
Refer to Documentation/cgroups.txt for more information
on "cgroup" pseudo filesystem.
Refer to Documentation/cgroups/cgroups.txt for more
information on "cgroup" pseudo filesystem.

endchoice

Expand All @@ -335,10 +335,9 @@ menuconfig CGROUPS
use with process control subsystems such as Cpusets, CFS, memory
controls or device isolation.
See
- Documentation/cpusets.txt (Cpusets)
- Documentation/scheduler/sched-design-CFS.txt (CFS)
- Documentation/cgroups/ (features for grouping, isolation)
- Documentation/controllers/ (features for resource control)
- Documentation/cgroups/ (features for grouping, isolation
and resource control)

Say N if unsure.

Expand Down
2 changes: 1 addition & 1 deletion kernel/cpuset.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
* 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.
*
* Does not return errors, on the theory that the callers of this
Expand Down

0 comments on commit 45ce80f

Please sign in to comment.