* [PATCH] trivial: fix where cgroup documentation is not correctly referred to
@ 2009-02-02 22:38 Thadeu Lima de Souza Cascardo
2009-02-03 2:12 ` KAMEZAWA Hiroyuki
2009-02-03 5:53 ` Li Zefan
0 siblings, 2 replies; 9+ messages in thread
From: Thadeu Lima de Souza Cascardo @ 2009-02-02 22:38 UTC (permalink / raw)
To: linux-kernel; +Cc: trivial, lizf, Thadeu Lima de Souza Cascardo
cgroup documentation was moved to Documentation/cgroups/. There are some
places that still refer to Documentation/controllers/,
Documentation/cgroups.txt and Documentation/cpusets.txt. Fix those.
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
---
Documentation/kernel-parameters.txt | 4 ++--
Documentation/scheduler/sched-rt-group.txt | 2 +-
Documentation/vm/numa_memory_policy.txt | 3 ++-
Documentation/vm/page_migration | 3 ++-
Documentation/x86/x86_64/fake-numa-for-cpusets | 5 +++--
include/linux/cgroup.h | 5 ++++-
init/Kconfig | 2 +-
7 files changed, 15 insertions(+), 9 deletions(-)
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index d8362cf..4fd448b 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -1563,7 +1563,7 @@ and is between 256 and 4096 characters. It is defined in the file
nosoftlockup [KNL] Disable the soft-lockup detector.
noswapaccount [KNL] Disable accounting of swap in memory resource
- controller. (See Documentation/controllers/memory.txt)
+ controller. (See Documentation/cgroups/memory.txt)
nosync [HW,M68K] Disables sync negotiation for all devices.
@@ -1907,7 +1907,7 @@ and is between 256 and 4096 characters. It is defined in the file
relax_domain_level=
[KNL, SMP] Set scheduler's default relax_domain_level.
- See Documentation/cpusets.txt.
+ See Documentation/cgroups/cpusets.txt.
reserve= [KNL,BUGS] Force the kernel to ignore some iomem area
diff --git a/Documentation/scheduler/sched-rt-group.txt b/Documentation/scheduler/sched-rt-group.txt
index 3ef339f..5ba4d3f 100644
--- a/Documentation/scheduler/sched-rt-group.txt
+++ b/Documentation/scheduler/sched-rt-group.txt
@@ -126,7 +126,7 @@ This uses the /cgroup virtual file system and "/cgroup/<cgroup>/cpu.rt_runtime_u
to control the CPU time reserved for each control group instead.
For more information on working with control groups, you should read
-Documentation/cgroups.txt as well.
+Documentation/cgroups/cgroups.txt as well.
Group settings are checked against the following limits in order to keep the configuration
schedulable:
diff --git a/Documentation/vm/numa_memory_policy.txt b/Documentation/vm/numa_memory_policy.txt
index 6aaaeb3..be45dbb 100644
--- a/Documentation/vm/numa_memory_policy.txt
+++ b/Documentation/vm/numa_memory_policy.txt
@@ -8,7 +8,8 @@ The current memory policy support was added to Linux 2.6 around May 2004. This
document attempts to describe the concepts and APIs of the 2.6 memory policy
support.
-Memory policies should not be confused with cpusets (Documentation/cpusets.txt)
+Memory policies should not be confused with cpusets
+(Documentation/cgroups/cpusets.txt)
which is an administrative mechanism for restricting the nodes from which
memory may be allocated by a set of processes. Memory policies are a
programming interface that a NUMA-aware application can take advantage of. When
diff --git a/Documentation/vm/page_migration b/Documentation/vm/page_migration
index d5fdfd3..6513fe2 100644
--- a/Documentation/vm/page_migration
+++ b/Documentation/vm/page_migration
@@ -37,7 +37,8 @@ locations.
Larger installations usually partition the system using cpusets into
sections of nodes. Paul Jackson has equipped cpusets with the ability to
-move pages when a task is moved to another cpuset (See ../cpusets.txt).
+move pages when a task is moved to another cpuset (See
+Documentation/cgroups/cpusets.txt).
Cpusets allows the automation of process locality. If a task is moved to
a new cpuset then also all its pages are moved with it so that the
performance of the process does not sink dramatically. Also the pages
diff --git a/Documentation/x86/x86_64/fake-numa-for-cpusets b/Documentation/x86/x86_64/fake-numa-for-cpusets
index 33bb566..0f11d9b 100644
--- a/Documentation/x86/x86_64/fake-numa-for-cpusets
+++ b/Documentation/x86/x86_64/fake-numa-for-cpusets
@@ -7,7 +7,8 @@ you can create fake NUMA nodes that represent contiguous chunks of memory and
assign them to cpusets and their attached tasks. This is a way of limiting the
amount of system memory that are available to a certain class of tasks.
-For more information on the features of cpusets, see Documentation/cpusets.txt.
+For more information on the features of cpusets, see
+Documentation/cgroups/cpusets.txt.
There are a number of different configurations you can use for your needs. For
more information on the numa=fake command line option and its various ways of
configuring fake nodes, see Documentation/x86/x86_64/boot-options.txt.
@@ -32,7 +33,7 @@ A machine may be split as follows with "numa=fake=4*512," as reported by dmesg:
On node 3 totalpages: 131072
Now following the instructions for mounting the cpusets filesystem from
-Documentation/cpusets.txt, you can assign fake nodes (i.e. contiguous memory
+Documentation/cgroups/cpusets.txt, you can assign fake nodes (i.e. contiguous memory
address spaces) to individual cpusets:
[root@xroads /]# mkdir exampleset
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
index e267e62..1d9dd8f 100644
--- a/include/linux/cgroup.h
+++ b/include/linux/cgroup.h
@@ -341,7 +341,10 @@ int cgroup_task_count(const struct cgroup *cgrp);
/* Return true if the cgroup is a descendant of the current cgroup */
int cgroup_is_descendant(const struct cgroup *cgrp);
-/* Control Group subsystem type. See Documentation/cgroups.txt for details */
+/*
+ * Control Group subsystem type.
+ * See Documentation/cgroups/cgroups.txt for details
+ */
struct cgroup_subsys {
struct cgroup_subsys_state *(*create)(struct cgroup_subsys *ss,
diff --git a/init/Kconfig b/init/Kconfig
index f068071..87e26cd 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -505,7 +505,7 @@ config CGROUP_MEM_RES_CTLR
select MM_OWNER
help
Provides a memory resource controller that manages both anonymous
- memory and page cache. (See Documentation/controllers/memory.txt)
+ memory and page cache. (See Documentation/cgroups/memory.txt)
Note that setting this option increases fixed memory overhead
associated with each page of memory in the system. By this,
--
1.6.0.6
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH] trivial: fix where cgroup documentation is not correctly referred to
2009-02-02 22:38 [PATCH] trivial: fix where cgroup documentation is not correctly referred to Thadeu Lima de Souza Cascardo
@ 2009-02-03 2:12 ` KAMEZAWA Hiroyuki
2009-02-03 5:53 ` Li Zefan
1 sibling, 0 replies; 9+ messages in thread
From: KAMEZAWA Hiroyuki @ 2009-02-03 2:12 UTC (permalink / raw)
To: Thadeu Lima de Souza Cascardo; +Cc: linux-kernel, trivial, lizf
On Mon, 2 Feb 2009 20:38:44 -0200
Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com> wrote:
> cgroup documentation was moved to Documentation/cgroups/. There are some
> places that still refer to Documentation/controllers/,
> Documentation/cgroups.txt and Documentation/cpusets.txt. Fix those.
>
> Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Thanks, very helpful.
for memory cgroup part, Ack from me.
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
> ---
> Documentation/kernel-parameters.txt | 4 ++--
> Documentation/scheduler/sched-rt-group.txt | 2 +-
> Documentation/vm/numa_memory_policy.txt | 3 ++-
> Documentation/vm/page_migration | 3 ++-
> Documentation/x86/x86_64/fake-numa-for-cpusets | 5 +++--
> include/linux/cgroup.h | 5 ++++-
> init/Kconfig | 2 +-
> 7 files changed, 15 insertions(+), 9 deletions(-)
>
> diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
> index d8362cf..4fd448b 100644
> --- a/Documentation/kernel-parameters.txt
> +++ b/Documentation/kernel-parameters.txt
> @@ -1563,7 +1563,7 @@ and is between 256 and 4096 characters. It is defined in the file
> nosoftlockup [KNL] Disable the soft-lockup detector.
>
> noswapaccount [KNL] Disable accounting of swap in memory resource
> - controller. (See Documentation/controllers/memory.txt)
> + controller. (See Documentation/cgroups/memory.txt)
>
> nosync [HW,M68K] Disables sync negotiation for all devices.
>
> @@ -1907,7 +1907,7 @@ and is between 256 and 4096 characters. It is defined in the file
>
> relax_domain_level=
> [KNL, SMP] Set scheduler's default relax_domain_level.
> - See Documentation/cpusets.txt.
> + See Documentation/cgroups/cpusets.txt.
>
> reserve= [KNL,BUGS] Force the kernel to ignore some iomem area
>
> diff --git a/Documentation/scheduler/sched-rt-group.txt b/Documentation/scheduler/sched-rt-group.txt
> index 3ef339f..5ba4d3f 100644
> --- a/Documentation/scheduler/sched-rt-group.txt
> +++ b/Documentation/scheduler/sched-rt-group.txt
> @@ -126,7 +126,7 @@ This uses the /cgroup virtual file system and "/cgroup/<cgroup>/cpu.rt_runtime_u
> to control the CPU time reserved for each control group instead.
>
> For more information on working with control groups, you should read
> -Documentation/cgroups.txt as well.
> +Documentation/cgroups/cgroups.txt as well.
>
> Group settings are checked against the following limits in order to keep the configuration
> schedulable:
> diff --git a/Documentation/vm/numa_memory_policy.txt b/Documentation/vm/numa_memory_policy.txt
> index 6aaaeb3..be45dbb 100644
> --- a/Documentation/vm/numa_memory_policy.txt
> +++ b/Documentation/vm/numa_memory_policy.txt
> @@ -8,7 +8,8 @@ The current memory policy support was added to Linux 2.6 around May 2004. This
> document attempts to describe the concepts and APIs of the 2.6 memory policy
> support.
>
> -Memory policies should not be confused with cpusets (Documentation/cpusets.txt)
> +Memory policies should not be confused with cpusets
> +(Documentation/cgroups/cpusets.txt)
> which is an administrative mechanism for restricting the nodes from which
> memory may be allocated by a set of processes. Memory policies are a
> programming interface that a NUMA-aware application can take advantage of. When
> diff --git a/Documentation/vm/page_migration b/Documentation/vm/page_migration
> index d5fdfd3..6513fe2 100644
> --- a/Documentation/vm/page_migration
> +++ b/Documentation/vm/page_migration
> @@ -37,7 +37,8 @@ locations.
>
> Larger installations usually partition the system using cpusets into
> sections of nodes. Paul Jackson has equipped cpusets with the ability to
> -move pages when a task is moved to another cpuset (See ../cpusets.txt).
> +move pages when a task is moved to another cpuset (See
> +Documentation/cgroups/cpusets.txt).
> Cpusets allows the automation of process locality. If a task is moved to
> a new cpuset then also all its pages are moved with it so that the
> performance of the process does not sink dramatically. Also the pages
> diff --git a/Documentation/x86/x86_64/fake-numa-for-cpusets b/Documentation/x86/x86_64/fake-numa-for-cpusets
> index 33bb566..0f11d9b 100644
> --- a/Documentation/x86/x86_64/fake-numa-for-cpusets
> +++ b/Documentation/x86/x86_64/fake-numa-for-cpusets
> @@ -7,7 +7,8 @@ you can create fake NUMA nodes that represent contiguous chunks of memory and
> assign them to cpusets and their attached tasks. This is a way of limiting the
> amount of system memory that are available to a certain class of tasks.
>
> -For more information on the features of cpusets, see Documentation/cpusets.txt.
> +For more information on the features of cpusets, see
> +Documentation/cgroups/cpusets.txt.
> There are a number of different configurations you can use for your needs. For
> more information on the numa=fake command line option and its various ways of
> configuring fake nodes, see Documentation/x86/x86_64/boot-options.txt.
> @@ -32,7 +33,7 @@ A machine may be split as follows with "numa=fake=4*512," as reported by dmesg:
> On node 3 totalpages: 131072
>
> Now following the instructions for mounting the cpusets filesystem from
> -Documentation/cpusets.txt, you can assign fake nodes (i.e. contiguous memory
> +Documentation/cgroups/cpusets.txt, you can assign fake nodes (i.e. contiguous memory
> address spaces) to individual cpusets:
>
> [root@xroads /]# mkdir exampleset
> diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
> index e267e62..1d9dd8f 100644
> --- a/include/linux/cgroup.h
> +++ b/include/linux/cgroup.h
> @@ -341,7 +341,10 @@ int cgroup_task_count(const struct cgroup *cgrp);
> /* Return true if the cgroup is a descendant of the current cgroup */
> int cgroup_is_descendant(const struct cgroup *cgrp);
>
> -/* Control Group subsystem type. See Documentation/cgroups.txt for details */
> +/*
> + * Control Group subsystem type.
> + * See Documentation/cgroups/cgroups.txt for details
> + */
>
> struct cgroup_subsys {
> struct cgroup_subsys_state *(*create)(struct cgroup_subsys *ss,
> diff --git a/init/Kconfig b/init/Kconfig
> index f068071..87e26cd 100644
> --- a/init/Kconfig
> +++ b/init/Kconfig
> @@ -505,7 +505,7 @@ config CGROUP_MEM_RES_CTLR
> select MM_OWNER
> help
> Provides a memory resource controller that manages both anonymous
> - memory and page cache. (See Documentation/controllers/memory.txt)
> + memory and page cache. (See Documentation/cgroups/memory.txt)
>
> Note that setting this option increases fixed memory overhead
> associated with each page of memory in the system. By this,
> --
> 1.6.0.6
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] trivial: fix where cgroup documentation is not correctly referred to
2009-02-02 22:38 [PATCH] trivial: fix where cgroup documentation is not correctly referred to Thadeu Lima de Souza Cascardo
2009-02-03 2:12 ` KAMEZAWA Hiroyuki
@ 2009-02-03 5:53 ` Li Zefan
2009-02-03 13:04 ` Thadeu Lima de Souza Cascardo
1 sibling, 1 reply; 9+ messages in thread
From: Li Zefan @ 2009-02-03 5:53 UTC (permalink / raw)
To: Thadeu Lima de Souza Cascardo; +Cc: linux-kernel, trivial
Thadeu Lima de Souza Cascardo wrote:
> cgroup documentation was moved to Documentation/cgroups/. There are some
> places that still refer to Documentation/controllers/,
> Documentation/cgroups.txt and Documentation/cpusets.txt. Fix those.
>
Thanks! Could you also remove cpuset.txt from Documentation/00-INDEX and
add cgroups/ in it?
> Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
> ---
> Documentation/kernel-parameters.txt | 4 ++--
> Documentation/scheduler/sched-rt-group.txt | 2 +-
> Documentation/vm/numa_memory_policy.txt | 3 ++-
> Documentation/vm/page_migration | 3 ++-
> Documentation/x86/x86_64/fake-numa-for-cpusets | 5 +++--
> include/linux/cgroup.h | 5 ++++-
> init/Kconfig | 2 +-
> 7 files changed, 15 insertions(+), 9 deletions(-)
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH] trivial: fix where cgroup documentation is not correctly referred to
2009-02-03 5:53 ` Li Zefan
@ 2009-02-03 13:04 ` Thadeu Lima de Souza Cascardo
2009-02-03 17:08 ` Randy Dunlap
0 siblings, 1 reply; 9+ messages in thread
From: Thadeu Lima de Souza Cascardo @ 2009-02-03 13:04 UTC (permalink / raw)
To: linux-kernel
Cc: trivial, kamezawa.hiroyu, lizf, Thadeu Lima de Souza Cascardo
cgroup documentation was moved to Documentation/cgroups/. There are some
places that still refer to Documentation/controllers/,
Documentation/cgroups.txt and Documentation/cpusets.txt. Fix those.
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
---
Documentation/00-INDEX | 4 ++--
Documentation/kernel-parameters.txt | 4 ++--
Documentation/scheduler/sched-rt-group.txt | 2 +-
Documentation/vm/numa_memory_policy.txt | 3 ++-
Documentation/vm/page_migration | 3 ++-
Documentation/x86/x86_64/fake-numa-for-cpusets | 5 +++--
include/linux/cgroup.h | 5 ++++-
init/Kconfig | 2 +-
8 files changed, 17 insertions(+), 11 deletions(-)
diff --git a/Documentation/00-INDEX b/Documentation/00-INDEX
index 2a39aeb..d05737a 100644
--- a/Documentation/00-INDEX
+++ b/Documentation/00-INDEX
@@ -86,6 +86,8 @@ cachetlb.txt
- describes the cache/TLB flushing interfaces Linux uses.
cdrom/
- directory with information on the CD-ROM drivers that Linux has.
+cgroups/
+ - cgroups features, including cpusets and memory controller.
connector/
- docs on the netlink based userspace<->kernel space communication mod.
console/
@@ -98,8 +100,6 @@ cpu-load.txt
- document describing how CPU load statistics are collected.
cpuidle/
- info on CPU_IDLE, CPU idle state management subsystem.
-cpusets.txt
- - documents the cpusets feature; assign CPUs and Mem to a set of tasks.
cputopology.txt
- documentation on how CPU topology info is exported via sysfs.
cris/
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index d8362cf..4fd448b 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -1563,7 +1563,7 @@ and is between 256 and 4096 characters. It is defined in the file
nosoftlockup [KNL] Disable the soft-lockup detector.
noswapaccount [KNL] Disable accounting of swap in memory resource
- controller. (See Documentation/controllers/memory.txt)
+ controller. (See Documentation/cgroups/memory.txt)
nosync [HW,M68K] Disables sync negotiation for all devices.
@@ -1907,7 +1907,7 @@ and is between 256 and 4096 characters. It is defined in the file
relax_domain_level=
[KNL, SMP] Set scheduler's default relax_domain_level.
- See Documentation/cpusets.txt.
+ See Documentation/cgroups/cpusets.txt.
reserve= [KNL,BUGS] Force the kernel to ignore some iomem area
diff --git a/Documentation/scheduler/sched-rt-group.txt b/Documentation/scheduler/sched-rt-group.txt
index 3ef339f..5ba4d3f 100644
--- a/Documentation/scheduler/sched-rt-group.txt
+++ b/Documentation/scheduler/sched-rt-group.txt
@@ -126,7 +126,7 @@ This uses the /cgroup virtual file system and "/cgroup/<cgroup>/cpu.rt_runtime_u
to control the CPU time reserved for each control group instead.
For more information on working with control groups, you should read
-Documentation/cgroups.txt as well.
+Documentation/cgroups/cgroups.txt as well.
Group settings are checked against the following limits in order to keep the configuration
schedulable:
diff --git a/Documentation/vm/numa_memory_policy.txt b/Documentation/vm/numa_memory_policy.txt
index 6aaaeb3..be45dbb 100644
--- a/Documentation/vm/numa_memory_policy.txt
+++ b/Documentation/vm/numa_memory_policy.txt
@@ -8,7 +8,8 @@ The current memory policy support was added to Linux 2.6 around May 2004. This
document attempts to describe the concepts and APIs of the 2.6 memory policy
support.
-Memory policies should not be confused with cpusets (Documentation/cpusets.txt)
+Memory policies should not be confused with cpusets
+(Documentation/cgroups/cpusets.txt)
which is an administrative mechanism for restricting the nodes from which
memory may be allocated by a set of processes. Memory policies are a
programming interface that a NUMA-aware application can take advantage of. When
diff --git a/Documentation/vm/page_migration b/Documentation/vm/page_migration
index d5fdfd3..6513fe2 100644
--- a/Documentation/vm/page_migration
+++ b/Documentation/vm/page_migration
@@ -37,7 +37,8 @@ locations.
Larger installations usually partition the system using cpusets into
sections of nodes. Paul Jackson has equipped cpusets with the ability to
-move pages when a task is moved to another cpuset (See ../cpusets.txt).
+move pages when a task is moved to another cpuset (See
+Documentation/cgroups/cpusets.txt).
Cpusets allows the automation of process locality. If a task is moved to
a new cpuset then also all its pages are moved with it so that the
performance of the process does not sink dramatically. Also the pages
diff --git a/Documentation/x86/x86_64/fake-numa-for-cpusets b/Documentation/x86/x86_64/fake-numa-for-cpusets
index 33bb566..0f11d9b 100644
--- a/Documentation/x86/x86_64/fake-numa-for-cpusets
+++ b/Documentation/x86/x86_64/fake-numa-for-cpusets
@@ -7,7 +7,8 @@ you can create fake NUMA nodes that represent contiguous chunks of memory and
assign them to cpusets and their attached tasks. This is a way of limiting the
amount of system memory that are available to a certain class of tasks.
-For more information on the features of cpusets, see Documentation/cpusets.txt.
+For more information on the features of cpusets, see
+Documentation/cgroups/cpusets.txt.
There are a number of different configurations you can use for your needs. For
more information on the numa=fake command line option and its various ways of
configuring fake nodes, see Documentation/x86/x86_64/boot-options.txt.
@@ -32,7 +33,7 @@ A machine may be split as follows with "numa=fake=4*512," as reported by dmesg:
On node 3 totalpages: 131072
Now following the instructions for mounting the cpusets filesystem from
-Documentation/cpusets.txt, you can assign fake nodes (i.e. contiguous memory
+Documentation/cgroups/cpusets.txt, you can assign fake nodes (i.e. contiguous memory
address spaces) to individual cpusets:
[root@xroads /]# mkdir exampleset
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
index e267e62..1d9dd8f 100644
--- a/include/linux/cgroup.h
+++ b/include/linux/cgroup.h
@@ -341,7 +341,10 @@ int cgroup_task_count(const struct cgroup *cgrp);
/* Return true if the cgroup is a descendant of the current cgroup */
int cgroup_is_descendant(const struct cgroup *cgrp);
-/* Control Group subsystem type. See Documentation/cgroups.txt for details */
+/*
+ * Control Group subsystem type.
+ * See Documentation/cgroups/cgroups.txt for details
+ */
struct cgroup_subsys {
struct cgroup_subsys_state *(*create)(struct cgroup_subsys *ss,
diff --git a/init/Kconfig b/init/Kconfig
index f068071..87e26cd 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -505,7 +505,7 @@ config CGROUP_MEM_RES_CTLR
select MM_OWNER
help
Provides a memory resource controller that manages both anonymous
- memory and page cache. (See Documentation/controllers/memory.txt)
+ memory and page cache. (See Documentation/cgroups/memory.txt)
Note that setting this option increases fixed memory overhead
associated with each page of memory in the system. By this,
--
1.6.0.6
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH] trivial: fix where cgroup documentation is not correctly referred to
2009-02-03 13:04 ` Thadeu Lima de Souza Cascardo
@ 2009-02-03 17:08 ` Randy Dunlap
2009-02-03 20:48 ` Thadeu Lima de Souza Cascardo
0 siblings, 1 reply; 9+ messages in thread
From: Randy Dunlap @ 2009-02-03 17:08 UTC (permalink / raw)
To: Thadeu Lima de Souza Cascardo
Cc: linux-kernel, trivial, kamezawa.hiroyu, lizf
Thadeu Lima de Souza Cascardo wrote:
> cgroup documentation was moved to Documentation/cgroups/. There are some
> places that still refer to Documentation/controllers/,
> Documentation/cgroups.txt and Documentation/cpusets.txt. Fix those.
Documentation/cgroups/ needs a 00-INDEX file. The cpusets.txt entry
from Documentation/ should be moved to it and all files in Documentation/cgroups/
should be listed in it.
> Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
> ---
> Documentation/00-INDEX | 4 ++--
> Documentation/kernel-parameters.txt | 4 ++--
> Documentation/scheduler/sched-rt-group.txt | 2 +-
> Documentation/vm/numa_memory_policy.txt | 3 ++-
> Documentation/vm/page_migration | 3 ++-
> Documentation/x86/x86_64/fake-numa-for-cpusets | 5 +++--
> include/linux/cgroup.h | 5 ++++-
> init/Kconfig | 2 +-
> 8 files changed, 17 insertions(+), 11 deletions(-)
>
> diff --git a/Documentation/00-INDEX b/Documentation/00-INDEX
> index 2a39aeb..d05737a 100644
> --- a/Documentation/00-INDEX
> +++ b/Documentation/00-INDEX
> @@ -86,6 +86,8 @@ cachetlb.txt
> - describes the cache/TLB flushing interfaces Linux uses.
> cdrom/
> - directory with information on the CD-ROM drivers that Linux has.
> +cgroups/
> + - cgroups features, including cpusets and memory controller.
> connector/
> - docs on the netlink based userspace<->kernel space communication mod.
> console/
> @@ -98,8 +100,6 @@ cpu-load.txt
> - document describing how CPU load statistics are collected.
> cpuidle/
> - info on CPU_IDLE, CPU idle state management subsystem.
> -cpusets.txt
> - - documents the cpusets feature; assign CPUs and Mem to a set of tasks.
> cputopology.txt
> - documentation on how CPU topology info is exported via sysfs.
> cris/
> diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
> index d8362cf..4fd448b 100644
> --- a/Documentation/kernel-parameters.txt
> +++ b/Documentation/kernel-parameters.txt
> @@ -1563,7 +1563,7 @@ and is between 256 and 4096 characters. It is defined in the file
> nosoftlockup [KNL] Disable the soft-lockup detector.
>
> noswapaccount [KNL] Disable accounting of swap in memory resource
> - controller. (See Documentation/controllers/memory.txt)
> + controller. (See Documentation/cgroups/memory.txt)
>
> nosync [HW,M68K] Disables sync negotiation for all devices.
>
> @@ -1907,7 +1907,7 @@ and is between 256 and 4096 characters. It is defined in the file
>
> relax_domain_level=
> [KNL, SMP] Set scheduler's default relax_domain_level.
> - See Documentation/cpusets.txt.
> + See Documentation/cgroups/cpusets.txt.
>
> reserve= [KNL,BUGS] Force the kernel to ignore some iomem area
>
> diff --git a/Documentation/scheduler/sched-rt-group.txt b/Documentation/scheduler/sched-rt-group.txt
> index 3ef339f..5ba4d3f 100644
> --- a/Documentation/scheduler/sched-rt-group.txt
> +++ b/Documentation/scheduler/sched-rt-group.txt
> @@ -126,7 +126,7 @@ This uses the /cgroup virtual file system and "/cgroup/<cgroup>/cpu.rt_runtime_u
> to control the CPU time reserved for each control group instead.
>
> For more information on working with control groups, you should read
> -Documentation/cgroups.txt as well.
> +Documentation/cgroups/cgroups.txt as well.
>
> Group settings are checked against the following limits in order to keep the configuration
> schedulable:
> diff --git a/Documentation/vm/numa_memory_policy.txt b/Documentation/vm/numa_memory_policy.txt
> index 6aaaeb3..be45dbb 100644
> --- a/Documentation/vm/numa_memory_policy.txt
> +++ b/Documentation/vm/numa_memory_policy.txt
> @@ -8,7 +8,8 @@ The current memory policy support was added to Linux 2.6 around May 2004. This
> document attempts to describe the concepts and APIs of the 2.6 memory policy
> support.
>
> -Memory policies should not be confused with cpusets (Documentation/cpusets.txt)
> +Memory policies should not be confused with cpusets
> +(Documentation/cgroups/cpusets.txt)
> which is an administrative mechanism for restricting the nodes from which
> memory may be allocated by a set of processes. Memory policies are a
> programming interface that a NUMA-aware application can take advantage of. When
> diff --git a/Documentation/vm/page_migration b/Documentation/vm/page_migration
> index d5fdfd3..6513fe2 100644
> --- a/Documentation/vm/page_migration
> +++ b/Documentation/vm/page_migration
> @@ -37,7 +37,8 @@ locations.
>
> Larger installations usually partition the system using cpusets into
> sections of nodes. Paul Jackson has equipped cpusets with the ability to
> -move pages when a task is moved to another cpuset (See ../cpusets.txt).
> +move pages when a task is moved to another cpuset (See
> +Documentation/cgroups/cpusets.txt).
> Cpusets allows the automation of process locality. If a task is moved to
> a new cpuset then also all its pages are moved with it so that the
> performance of the process does not sink dramatically. Also the pages
> diff --git a/Documentation/x86/x86_64/fake-numa-for-cpusets b/Documentation/x86/x86_64/fake-numa-for-cpusets
> index 33bb566..0f11d9b 100644
> --- a/Documentation/x86/x86_64/fake-numa-for-cpusets
> +++ b/Documentation/x86/x86_64/fake-numa-for-cpusets
> @@ -7,7 +7,8 @@ you can create fake NUMA nodes that represent contiguous chunks of memory and
> assign them to cpusets and their attached tasks. This is a way of limiting the
> amount of system memory that are available to a certain class of tasks.
>
> -For more information on the features of cpusets, see Documentation/cpusets.txt.
> +For more information on the features of cpusets, see
> +Documentation/cgroups/cpusets.txt.
> There are a number of different configurations you can use for your needs. For
> more information on the numa=fake command line option and its various ways of
> configuring fake nodes, see Documentation/x86/x86_64/boot-options.txt.
> @@ -32,7 +33,7 @@ A machine may be split as follows with "numa=fake=4*512," as reported by dmesg:
> On node 3 totalpages: 131072
>
> Now following the instructions for mounting the cpusets filesystem from
> -Documentation/cpusets.txt, you can assign fake nodes (i.e. contiguous memory
> +Documentation/cgroups/cpusets.txt, you can assign fake nodes (i.e. contiguous memory
> address spaces) to individual cpusets:
>
> [root@xroads /]# mkdir exampleset
> diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
> index e267e62..1d9dd8f 100644
> --- a/include/linux/cgroup.h
> +++ b/include/linux/cgroup.h
> @@ -341,7 +341,10 @@ int cgroup_task_count(const struct cgroup *cgrp);
> /* Return true if the cgroup is a descendant of the current cgroup */
> int cgroup_is_descendant(const struct cgroup *cgrp);
>
> -/* Control Group subsystem type. See Documentation/cgroups.txt for details */
> +/*
> + * Control Group subsystem type.
> + * See Documentation/cgroups/cgroups.txt for details
> + */
>
> struct cgroup_subsys {
> struct cgroup_subsys_state *(*create)(struct cgroup_subsys *ss,
> diff --git a/init/Kconfig b/init/Kconfig
> index f068071..87e26cd 100644
> --- a/init/Kconfig
> +++ b/init/Kconfig
> @@ -505,7 +505,7 @@ config CGROUP_MEM_RES_CTLR
> select MM_OWNER
> help
> Provides a memory resource controller that manages both anonymous
> - memory and page cache. (See Documentation/controllers/memory.txt)
> + memory and page cache. (See Documentation/cgroups/memory.txt)
>
> Note that setting this option increases fixed memory overhead
> associated with each page of memory in the system. By this,
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH] trivial: fix where cgroup documentation is not correctly referred to
2009-02-03 17:08 ` Randy Dunlap
@ 2009-02-03 20:48 ` Thadeu Lima de Souza Cascardo
2009-02-04 1:09 ` Li Zefan
0 siblings, 1 reply; 9+ messages in thread
From: Thadeu Lima de Souza Cascardo @ 2009-02-03 20:48 UTC (permalink / raw)
To: linux-kernel
Cc: trivial, kamezawa.hiroyu, lizf, rdunlap,
Thadeu Lima de Souza Cascardo
cgroup documentation was moved to Documentation/cgroups/. There are some
places that still refer to Documentation/controllers/,
Documentation/cgroups.txt and Documentation/cpusets.txt. Fix those.
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
---
Documentation/00-INDEX | 4 ++--
Documentation/cgroups/00-INDEX | 18 ++++++++++++++++++
Documentation/kernel-parameters.txt | 4 ++--
Documentation/scheduler/sched-rt-group.txt | 2 +-
Documentation/vm/numa_memory_policy.txt | 3 ++-
Documentation/vm/page_migration | 3 ++-
Documentation/x86/x86_64/fake-numa-for-cpusets | 5 +++--
include/linux/cgroup.h | 5 ++++-
init/Kconfig | 2 +-
9 files changed, 35 insertions(+), 11 deletions(-)
create mode 100644 Documentation/cgroups/00-INDEX
diff --git a/Documentation/00-INDEX b/Documentation/00-INDEX
index 2a39aeb..d05737a 100644
--- a/Documentation/00-INDEX
+++ b/Documentation/00-INDEX
@@ -86,6 +86,8 @@ cachetlb.txt
- describes the cache/TLB flushing interfaces Linux uses.
cdrom/
- directory with information on the CD-ROM drivers that Linux has.
+cgroups/
+ - cgroups features, including cpusets and memory controller.
connector/
- docs on the netlink based userspace<->kernel space communication mod.
console/
@@ -98,8 +100,6 @@ cpu-load.txt
- document describing how CPU load statistics are collected.
cpuidle/
- info on CPU_IDLE, CPU idle state management subsystem.
-cpusets.txt
- - documents the cpusets feature; assign CPUs and Mem to a set of tasks.
cputopology.txt
- documentation on how CPU topology info is exported via sysfs.
cris/
diff --git a/Documentation/cgroups/00-INDEX b/Documentation/cgroups/00-INDEX
new file mode 100644
index 0000000..3f58fa3
--- /dev/null
+++ b/Documentation/cgroups/00-INDEX
@@ -0,0 +1,18 @@
+00-INDEX
+ - this file
+cgroups.txt
+ - Control Groups definition, implementation details, examples and API.
+cpuacct.txt
+ - CPU Accounting Controller; account CPU usage for groups of tasks.
+cpusets.txt
+ - documents the cpusets feature; assign CPUs and Mem to a set of tasks.
+devices.txt
+ - Device Whitelist Controller; description, interface and security.
+freezer-subsystem.txt
+ - checkpointing; rationale to not use signals, interface.
+memcg_test.txt
+ - Memory Resource Controller; implementation details.
+memory.txt
+ - Memory Resource Controller; design, accounting, interface, testing.
+resource_counter.txt
+ - Resource Counter API.
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index d8362cf..4fd448b 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -1563,7 +1563,7 @@ and is between 256 and 4096 characters. It is defined in the file
nosoftlockup [KNL] Disable the soft-lockup detector.
noswapaccount [KNL] Disable accounting of swap in memory resource
- controller. (See Documentation/controllers/memory.txt)
+ controller. (See Documentation/cgroups/memory.txt)
nosync [HW,M68K] Disables sync negotiation for all devices.
@@ -1907,7 +1907,7 @@ and is between 256 and 4096 characters. It is defined in the file
relax_domain_level=
[KNL, SMP] Set scheduler's default relax_domain_level.
- See Documentation/cpusets.txt.
+ See Documentation/cgroups/cpusets.txt.
reserve= [KNL,BUGS] Force the kernel to ignore some iomem area
diff --git a/Documentation/scheduler/sched-rt-group.txt b/Documentation/scheduler/sched-rt-group.txt
index 3ef339f..5ba4d3f 100644
--- a/Documentation/scheduler/sched-rt-group.txt
+++ b/Documentation/scheduler/sched-rt-group.txt
@@ -126,7 +126,7 @@ This uses the /cgroup virtual file system and "/cgroup/<cgroup>/cpu.rt_runtime_u
to control the CPU time reserved for each control group instead.
For more information on working with control groups, you should read
-Documentation/cgroups.txt as well.
+Documentation/cgroups/cgroups.txt as well.
Group settings are checked against the following limits in order to keep the configuration
schedulable:
diff --git a/Documentation/vm/numa_memory_policy.txt b/Documentation/vm/numa_memory_policy.txt
index 6aaaeb3..be45dbb 100644
--- a/Documentation/vm/numa_memory_policy.txt
+++ b/Documentation/vm/numa_memory_policy.txt
@@ -8,7 +8,8 @@ The current memory policy support was added to Linux 2.6 around May 2004. This
document attempts to describe the concepts and APIs of the 2.6 memory policy
support.
-Memory policies should not be confused with cpusets (Documentation/cpusets.txt)
+Memory policies should not be confused with cpusets
+(Documentation/cgroups/cpusets.txt)
which is an administrative mechanism for restricting the nodes from which
memory may be allocated by a set of processes. Memory policies are a
programming interface that a NUMA-aware application can take advantage of. When
diff --git a/Documentation/vm/page_migration b/Documentation/vm/page_migration
index d5fdfd3..6513fe2 100644
--- a/Documentation/vm/page_migration
+++ b/Documentation/vm/page_migration
@@ -37,7 +37,8 @@ locations.
Larger installations usually partition the system using cpusets into
sections of nodes. Paul Jackson has equipped cpusets with the ability to
-move pages when a task is moved to another cpuset (See ../cpusets.txt).
+move pages when a task is moved to another cpuset (See
+Documentation/cgroups/cpusets.txt).
Cpusets allows the automation of process locality. If a task is moved to
a new cpuset then also all its pages are moved with it so that the
performance of the process does not sink dramatically. Also the pages
diff --git a/Documentation/x86/x86_64/fake-numa-for-cpusets b/Documentation/x86/x86_64/fake-numa-for-cpusets
index 33bb566..0f11d9b 100644
--- a/Documentation/x86/x86_64/fake-numa-for-cpusets
+++ b/Documentation/x86/x86_64/fake-numa-for-cpusets
@@ -7,7 +7,8 @@ you can create fake NUMA nodes that represent contiguous chunks of memory and
assign them to cpusets and their attached tasks. This is a way of limiting the
amount of system memory that are available to a certain class of tasks.
-For more information on the features of cpusets, see Documentation/cpusets.txt.
+For more information on the features of cpusets, see
+Documentation/cgroups/cpusets.txt.
There are a number of different configurations you can use for your needs. For
more information on the numa=fake command line option and its various ways of
configuring fake nodes, see Documentation/x86/x86_64/boot-options.txt.
@@ -32,7 +33,7 @@ A machine may be split as follows with "numa=fake=4*512," as reported by dmesg:
On node 3 totalpages: 131072
Now following the instructions for mounting the cpusets filesystem from
-Documentation/cpusets.txt, you can assign fake nodes (i.e. contiguous memory
+Documentation/cgroups/cpusets.txt, you can assign fake nodes (i.e. contiguous memory
address spaces) to individual cpusets:
[root@xroads /]# mkdir exampleset
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
index e267e62..1d9dd8f 100644
--- a/include/linux/cgroup.h
+++ b/include/linux/cgroup.h
@@ -341,7 +341,10 @@ int cgroup_task_count(const struct cgroup *cgrp);
/* Return true if the cgroup is a descendant of the current cgroup */
int cgroup_is_descendant(const struct cgroup *cgrp);
-/* Control Group subsystem type. See Documentation/cgroups.txt for details */
+/*
+ * Control Group subsystem type.
+ * See Documentation/cgroups/cgroups.txt for details
+ */
struct cgroup_subsys {
struct cgroup_subsys_state *(*create)(struct cgroup_subsys *ss,
diff --git a/init/Kconfig b/init/Kconfig
index f068071..87e26cd 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -505,7 +505,7 @@ config CGROUP_MEM_RES_CTLR
select MM_OWNER
help
Provides a memory resource controller that manages both anonymous
- memory and page cache. (See Documentation/controllers/memory.txt)
+ memory and page cache. (See Documentation/cgroups/memory.txt)
Note that setting this option increases fixed memory overhead
associated with each page of memory in the system. By this,
--
1.6.0.6
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH] trivial: fix where cgroup documentation is not correctly referred to
2009-02-03 20:48 ` Thadeu Lima de Souza Cascardo
@ 2009-02-04 1:09 ` Li Zefan
2009-02-04 7:38 ` Paul Menage
0 siblings, 1 reply; 9+ messages in thread
From: Li Zefan @ 2009-02-04 1:09 UTC (permalink / raw)
To: Thadeu Lima de Souza Cascardo
Cc: linux-kernel, trivial, kamezawa.hiroyu, rdunlap
Thadeu Lima de Souza Cascardo wrote:
> cgroup documentation was moved to Documentation/cgroups/. There are some
> places that still refer to Documentation/controllers/,
> Documentation/cgroups.txt and Documentation/cpusets.txt. Fix those.
>
After grep, I think there's no wrong ref anymore.
Reviewed-by: Li Zefan <lizf@cn.fujitsu.com>
> Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
> ---
> Documentation/00-INDEX | 4 ++--
> Documentation/cgroups/00-INDEX | 18 ++++++++++++++++++
> Documentation/kernel-parameters.txt | 4 ++--
> Documentation/scheduler/sched-rt-group.txt | 2 +-
> Documentation/vm/numa_memory_policy.txt | 3 ++-
> Documentation/vm/page_migration | 3 ++-
> Documentation/x86/x86_64/fake-numa-for-cpusets | 5 +++--
> include/linux/cgroup.h | 5 ++++-
> init/Kconfig | 2 +-
> 9 files changed, 35 insertions(+), 11 deletions(-)
> create mode 100644 Documentation/cgroups/00-INDEX
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] trivial: fix where cgroup documentation is not correctly referred to
2009-02-04 1:09 ` Li Zefan
@ 2009-02-04 7:38 ` Paul Menage
2009-02-04 9:12 ` Jiri Kosina
0 siblings, 1 reply; 9+ messages in thread
From: Paul Menage @ 2009-02-04 7:38 UTC (permalink / raw)
To: Li Zefan
Cc: Thadeu Lima de Souza Cascardo, linux-kernel, trivial,
kamezawa.hiroyu, rdunlap
On Tue, Feb 3, 2009 at 5:09 PM, Li Zefan <lizf@cn.fujitsu.com> wrote:
> Thadeu Lima de Souza Cascardo wrote:
>> cgroup documentation was moved to Documentation/cgroups/. There are some
>> places that still refer to Documentation/controllers/,
>> Documentation/cgroups.txt and Documentation/cpusets.txt. Fix those.
>>
>
> After grep, I think there's no wrong ref anymore.
>
> Reviewed-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: Paul Menage <menage@google.com>
Thanks for this cleanup.
Paul
>
>> Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
>> ---
>> Documentation/00-INDEX | 4 ++--
>> Documentation/cgroups/00-INDEX | 18 ++++++++++++++++++
>> Documentation/kernel-parameters.txt | 4 ++--
>> Documentation/scheduler/sched-rt-group.txt | 2 +-
>> Documentation/vm/numa_memory_policy.txt | 3 ++-
>> Documentation/vm/page_migration | 3 ++-
>> Documentation/x86/x86_64/fake-numa-for-cpusets | 5 +++--
>> include/linux/cgroup.h | 5 ++++-
>> init/Kconfig | 2 +-
>> 9 files changed, 35 insertions(+), 11 deletions(-)
>> create mode 100644 Documentation/cgroups/00-INDEX
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] trivial: fix where cgroup documentation is not correctly referred to
2009-02-04 7:38 ` Paul Menage
@ 2009-02-04 9:12 ` Jiri Kosina
0 siblings, 0 replies; 9+ messages in thread
From: Jiri Kosina @ 2009-02-04 9:12 UTC (permalink / raw)
To: Paul Menage, Thadeu Lima de Souza Cascardo, Li Zefan
Cc: linux-kernel, trivial, kamezawa.hiroyu, rdunlap
On Tue, 3 Feb 2009, Paul Menage wrote:
> >> cgroup documentation was moved to Documentation/cgroups/. There are some
> >> places that still refer to Documentation/controllers/,
> >> Documentation/cgroups.txt and Documentation/cpusets.txt. Fix those.
> > After grep, I think there's no wrong ref anymore.
> > Reviewed-by: Li Zefan <lizf@cn.fujitsu.com>
> Acked-by: Paul Menage <menage@google.com>
Applied to trivial tree, thanks.
--
Jiri Kosina
SUSE Labs
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2009-02-04 9:13 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-02 22:38 [PATCH] trivial: fix where cgroup documentation is not correctly referred to Thadeu Lima de Souza Cascardo
2009-02-03 2:12 ` KAMEZAWA Hiroyuki
2009-02-03 5:53 ` Li Zefan
2009-02-03 13:04 ` Thadeu Lima de Souza Cascardo
2009-02-03 17:08 ` Randy Dunlap
2009-02-03 20:48 ` Thadeu Lima de Souza Cascardo
2009-02-04 1:09 ` Li Zefan
2009-02-04 7:38 ` Paul Menage
2009-02-04 9:12 ` Jiri Kosina
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox