Skip to content

Commit 1bdcd78

Browse files
twoernertorvalds
authored andcommitted
cgroups: remove deprecated subsystem from examples.
The 'ns' cgroup is considered deprecated. Change the cgroup subsystem used in the examples of the cgroup documentation from 'ns' to 'blkio'. Signed-off-by: Trevor Woerner <twoerner@gmail.com> Acked-by: Li Zefan <lizf@cn.fujitsu.com> Acked-by: Paul Menage <menage@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent e0e34e9 commit 1bdcd78

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎Documentation/cgroups/cgroups.txt‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -355,13 +355,13 @@ subsystems, type:
355355

356356
To change the set of subsystems bound to a mounted hierarchy, just
357357
remount with different options:
358-
# mount -o remount,cpuset,ns hier1 /dev/cgroup
358+
# mount -o remount,cpuset,blkio hier1 /dev/cgroup
359359

360-
Now memory is removed from the hierarchy and ns is added.
360+
Now memory is removed from the hierarchy and blkio is added.
361361

362-
Note this will add ns to the hierarchy but won't remove memory or
362+
Note this will add blkio to the hierarchy but won't remove memory or
363363
cpuset, because the new options are appended to the old ones:
364-
# mount -o remount,ns /dev/cgroup
364+
# mount -o remount,blkio /dev/cgroup
365365

366366
To Specify a hierarchy's release_agent:
367367
# mount -t cgroup -o cpuset,release_agent="/sbin/cpuset_release_agent" \

0 commit comments

Comments
 (0)