Commit 5fe69d7e authored by Li Zefan's avatar Li Zefan Committed by Linus Torvalds

Documentation: update cgroups notes

- ns cgroup has been removed.
- it's true moving a task to another cgroup can fail.
Signed-off-by: default avatarLi Zefan <lizf@cn.fujitsu.com>
Acked-by: default avatarPaul Menage <paul@paulmenage.org>
Signed-off-by: default avatarRandy Dunlap <rdunlap@xenotime.net>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent dee119b1
...@@ -454,8 +454,8 @@ mounted hierarchy, to remove a task from its current cgroup you must ...@@ -454,8 +454,8 @@ mounted hierarchy, to remove a task from its current cgroup you must
move it into a new cgroup (possibly the root cgroup) by writing to the move it into a new cgroup (possibly the root cgroup) by writing to the
new cgroup's tasks file. new cgroup's tasks file.
Note: If the ns cgroup is active, moving a process to another cgroup can Note: Due to some restrictions enforced by some cgroup subsystems, moving
fail. a process to another cgroup can fail.
2.3 Mounting hierarchies by name 2.3 Mounting hierarchies by name
-------------------------------- --------------------------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment