提交 689bca3b 编写于 作者: G Greg Thelen 提交者: Jiri Kosina

memcg: clarify use_hierarchy documentation

The memcg code does not allow changing memory.use_hierarchy if the
parent cgroup has enabled use_hierarchy.  Update documentation to match
the code.
Signed-off-by: NGreg Thelen <gthelen@google.com>
Acked-by: NKAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: NJiri Kosina <jkosina@suse.cz>
上级 c23cf8ba
...@@ -485,8 +485,9 @@ The feature can be disabled by ...@@ -485,8 +485,9 @@ The feature can be disabled by
# echo 0 > memory.use_hierarchy # echo 0 > memory.use_hierarchy
NOTE1: Enabling/disabling will fail if the cgroup already has other NOTE1: Enabling/disabling will fail if either the cgroup already has other
cgroups created below it. cgroups created below it, or if the parent cgroup has use_hierarchy
enabled.
NOTE2: When panic_on_oom is set to "2", the whole system will panic in NOTE2: When panic_on_oom is set to "2", the whole system will panic in
case of an OOM event in any cgroup. case of an OOM event in any cgroup.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册