提交 0263c12c 编写于 作者: K Kirill A. Shutemov 提交者: Linus Torvalds

memcg: fix typos in memcg_test.txt

Signed-off-by: NKirill A. Shutemov <kirill@shutemov.name>
Reviewed-by: NBalbir Singh <balbir@linux.vnet.ibm.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 1e111452
...@@ -337,7 +337,7 @@ Under below explanation, we assume CONFIG_MEM_RES_CTRL_SWAP=y. ...@@ -337,7 +337,7 @@ Under below explanation, we assume CONFIG_MEM_RES_CTRL_SWAP=y.
race and lock dependency with other cgroup subsystems. race and lock dependency with other cgroup subsystems.
example) example)
# mount -t cgroup none /cgroup -t cpuset,memory,cpu,devices # mount -t cgroup none /cgroup -o cpuset,memory,cpu,devices
and do task move, mkdir, rmdir etc...under this. and do task move, mkdir, rmdir etc...under this.
...@@ -348,7 +348,7 @@ Under below explanation, we assume CONFIG_MEM_RES_CTRL_SWAP=y. ...@@ -348,7 +348,7 @@ Under below explanation, we assume CONFIG_MEM_RES_CTRL_SWAP=y.
For example, test like following is good. For example, test like following is good.
(Shell-A) (Shell-A)
# mount -t cgroup none /cgroup -t memory # mount -t cgroup none /cgroup -o memory
# mkdir /cgroup/test # mkdir /cgroup/test
# echo 40M > /cgroup/test/memory.limit_in_bytes # echo 40M > /cgroup/test/memory.limit_in_bytes
# echo 0 > /cgroup/test/tasks # echo 0 > /cgroup/test/tasks
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册