Skip to contentSkip to conversation

trivial: Give the right path in Documentation example

PATCH Applied Thadeu Lima de Souza Cascardo 3 participants 3 messages Feb 2, 2009 – Feb 3, 2009 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 trivial: Give the right path in Documentation example

While the Documentation example creates /cgroup/test, it removes /test/cgroup, which is clearly not the intended path. Change that to /cgroup/test.

---
 Documentation/cgroups/memcg_test.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Documentation/cgroups/memcg_test.txt +1 -1
index 523a9c1..a926359 100644
@@ -356,7 +356,7 @@ Under below explanation, we assume CONFIG_MEM_RES_CTRL_SWAP=y.
 	(Shell-B)
 	# move all tasks in /cgroup/test to /cgroup
 	# /sbin/swapoff -a
-	# rmdir /test/cgroup
+	# rmdir /cgroup/test
 	# kill malloc task.
 
 	Of course, tmpfs v.s. swapoff test should be tested, too.
Signature · 1 line
1.6.0.6
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · On Mon, 2 Feb 2009 20:39:36 -0200 Thadeu Lima de Souza Cascardo…

While the Documentation example creates /cgroup/test, it removes /test/cgroup, which is clearly not the intended path. Change that to /cgroup/test.

Ah, thanks.

Quoted 22 lines
---
 Documentation/cgroups/memcg_test.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Documentation/cgroups/memcg_test.txt +1 -1
index 523a9c1..a926359 100644
@@ -356,7 +356,7 @@ Under below explanation, we assume CONFIG_MEM_RES_CTRL_SWAP=y.
 	(Shell-B)
 	# move all tasks in /cgroup/test to /cgroup
 	# /sbin/swapoff -a
-	# rmdir /test/cgroup
+	# rmdir /cgroup/test
 	# kill malloc task.
 
 	Of course, tmpfs v.s. swapoff test should be tested, too.
Signature · 1 line
1.6.0.6
Applied
#2 lore raw
Quoted 21 lines · KAMEZAWA Hiroyuki
Quoted 3 lines

While the Documentation example creates /cgroup/test, it removes /test/cgroup, which is clearly not the intended path. Change that to /cgroup/test.

Quoted 17 lines
---
 Documentation/cgroups/memcg_test.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Documentation/cgroups/memcg_test.txt +1 -1
index 523a9c1..a926359 100644
@@ -356,7 +356,7 @@ Under below explanation, we assume CONFIG_MEM_RES_CTRL_SWAP=y.
 	(Shell-B)
 	# move all tasks in /cgroup/test to /cgroup
 	# /sbin/swapoff -a
-	# rmdir /test/cgroup
+	# rmdir /cgroup/test
 	# kill malloc task.
 
Quoted 1 line

Documentation/cgroups/memcg_test.txt Under below explanation, we assume CONFIG_MEM_RES_CTRL_SWAP=y. · line 362

Quoted 1 line
Documentation/cgroups/memcg_test.txt +0 -0
 	Of course, tmpfs v.s. swapoff test should be tested, too.

Applied to trivial tree, thanks guys.

Signature · 2 lines
Jiri Kosina
SUSE Labs