Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 09c3bcce authored by seokhoon.yoon's avatar seokhoon.yoon Committed by Jonathan Corbet
Browse files

Documenation: update cgroup's document path



cgroup's document path is changed to "cgroup-v1". update it.

Signed-off-by: default avatarseokhoon.yoon <iamyooon@gmail.com>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent d9a77fe2
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -2,7 +2,7 @@
				-------
				-------


Written by Paul Menage <menage@google.com> based on
Written by Paul Menage <menage@google.com> based on
Documentation/cgroups/cpusets.txt
Documentation/cgroup-v1/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.
@@ -72,7 +72,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/cgroups/cpusets.txt) allow
access. For example, cpusets (see Documentation/cgroup-v1/cpusets.txt) allow
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.


+1 −1
Original line number Original line Diff line number Diff line
@@ -48,7 +48,7 @@ hooks, beyond what is already present, required to manage dynamic
job placement on large systems.
job placement on large systems.


Cpusets use the generic cgroup subsystem described in
Cpusets use the generic cgroup subsystem described in
Documentation/cgroups/cgroups.txt.
Documentation/cgroup-v1/cgroups.txt.


Requests by a task, using the sched_setaffinity(2) system call to
Requests by a task, using the sched_setaffinity(2) system call to
include CPUs in its CPU affinity mask, and using the mbind(2) and
include CPUs in its CPU affinity mask, and using the mbind(2) and
+2 −2
Original line number Original line Diff line number Diff line
@@ -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/cgroups/memory.txt)
(*) Topics on API should be in Documentation/cgroup-v1/memory.txt)


0. How to record usage ?
0. How to record usage ?
   2 objects are used.
   2 objects are used.
@@ -256,7 +256,7 @@ Under below explanation, we assume CONFIG_MEM_RES_CTRL_SWAP=y.


	You can see charges have been moved by reading *.usage_in_bytes or
	You can see charges have been moved by reading *.usage_in_bytes or
	memory.stat of both A and B.
	memory.stat of both A and B.
	See 8.2 of Documentation/cgroups/memory.txt to see what value should be
	See 8.2 of Documentation/cgroup-v1/memory.txt to see what value should be
	written to move_charge_at_immigrate.
	written to move_charge_at_immigrate.


 9.10 Memory thresholds
 9.10 Memory thresholds
+1 −1
Original line number Original line Diff line number Diff line
@@ -98,7 +98,7 @@ A memory policy with a valid NodeList will be saved, as specified, for
use at file creation time.  When a task allocates a file in the file
use at file creation time.  When a task allocates a file in the file
system, the mount option memory policy will be applied with a NodeList,
system, the mount option memory policy will be applied with a NodeList,
if any, modified by the calling task's cpuset constraints
if any, modified by the calling task's cpuset constraints
[See Documentation/cgroups/cpusets.txt] and any optional flags, listed
[See Documentation/cgroup-v1/cpusets.txt] and any optional flags, listed
below.  If the resulting NodeLists is the empty set, the effective memory
below.  If the resulting NodeLists is the empty set, the effective memory
policy for the file will revert to "default" policy.
policy for the file will revert to "default" policy.


+2 −2
Original line number Original line Diff line number Diff line
@@ -3547,7 +3547,7 @@ bytes respectively. Such letter suffixes can also be entirely omitted.


	relax_domain_level=
	relax_domain_level=
			[KNL, SMP] Set scheduler's default relax_domain_level.
			[KNL, SMP] Set scheduler's default relax_domain_level.
			See Documentation/cgroups/cpusets.txt.
			See Documentation/cgroup-v1/cpusets.txt.


	relative_sleep_states=
	relative_sleep_states=
			[SUSPEND] Use sleep state labeling where the deepest
			[SUSPEND] Use sleep state labeling where the deepest
@@ -3867,7 +3867,7 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
	swapaccount=[0|1]
	swapaccount=[0|1]
			[KNL] Enable accounting of swap in memory resource
			[KNL] Enable accounting of swap in memory resource
			controller if no parameter or 1 is given or disable
			controller if no parameter or 1 is given or disable
			it if 0 is given (See Documentation/cgroups/memory.txt)
			it if 0 is given (See Documentation/cgroup-v1/memory.txt)


	swiotlb=	[ARM,IA-64,PPC,MIPS,X86]
	swiotlb=	[ARM,IA-64,PPC,MIPS,X86]
			Format: { <int> | force }
			Format: { <int> | force }
Loading