From 1619b6d4fdd776b1b91bd288ad6f7e37fe183485 Mon Sep 17 00:00:00 2001 From: Johannes Weiner Date: Tue, 16 Feb 2016 13:21:14 -0500 Subject: cgroup: document cgroup_no_v1= Add cgroup_no_v1= to kernel-parameters.txt, and a small blurb to cgroup-v2.txt section about transitioning from cgroup to cgroup2. Signed-off-by: Johannes Weiner Signed-off-by: Tejun Heo --- Documentation/cgroup-v2.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Documentation/cgroup-v2.txt') diff --git a/Documentation/cgroup-v2.txt b/Documentation/cgroup-v2.txt index 9ae148a..3922ae1 100644 --- a/Documentation/cgroup-v2.txt +++ b/Documentation/cgroup-v2.txt @@ -132,6 +132,12 @@ strongly discouraged for production use. It is recommended to decide the hierarchies and controller associations before starting using the controllers after system boot. +During transition to v2, system management software might still +automount the v1 cgroup filesystem and so hijack all controllers +during boot, before manual intervention is possible. To make testing +and experimenting easier, the kernel parameter cgroup_no_v1= allows +disabling controllers in v1 and make them always available in v2. + 2-2. Organizing Processes -- cgit v1.1 From 6c83e6cb0ce897818878a7d3b1b25d5dc8f611a2 Mon Sep 17 00:00:00 2001 From: Parav Pandit Date: Sat, 5 Mar 2016 11:20:58 +0530 Subject: Documentation: cgroup v2: Trivial heading correction. Corrected the heading to match with index. Signed-off-by: Parav Pandit Signed-off-by: Tejun Heo --- Documentation/cgroup-v2.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Documentation/cgroup-v2.txt') diff --git a/Documentation/cgroup-v2.txt b/Documentation/cgroup-v2.txt index 3922ae1..6039d41 100644 --- a/Documentation/cgroup-v2.txt +++ b/Documentation/cgroup-v2.txt @@ -898,7 +898,7 @@ PAGE_SIZE multiple when read back. limit, anonymous meomry of the cgroup will not be swapped out. -5-2-2. General Usage +5-2-2. Usage Guidelines "memory.high" is the main mechanism to control memory usage. Over-committing on high limit (sum of high limits > available memory) -- cgit v1.1