|
@@ -337,7 +337,7 @@ Under below explanation, we assume CONFIG_MEM_RES_CTRL_SWAP=y.
|
|
|
race and lock dependency with other cgroup subsystems.
|
|
|
|
|
|
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.
|
|
|
|
|
@@ -348,7 +348,7 @@ Under below explanation, we assume CONFIG_MEM_RES_CTRL_SWAP=y.
|
|
|
|
|
|
For example, test like following is good.
|
|
|
(Shell-A)
|
|
|
- # mount -t cgroup none /cgroup -t memory
|
|
|
+ # mount -t cgroup none /cgroup -o memory
|
|
|
# mkdir /cgroup/test
|
|
|
# echo 40M > /cgroup/test/memory.limit_in_bytes
|
|
|
# echo 0 > /cgroup/test/tasks
|