aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/cgroups
diff options
context:
space:
mode:
authorSeongJae Park <sj38.park@gmail.com>2014-12-03 06:53:44 -0500
committerJonathan Corbet <corbet@lwn.net>2014-12-03 08:53:12 -0500
commit845502d26301f8c37e2a57ad867672f306e674fb (patch)
tree796fa7654e228f7306f1b30871dc328045946f7a /Documentation/cgroups
parent04a3302b5ff4225ac59302c5995276cacdd6da4a (diff)
cgroups: Documentation: fix wrong cgroupfs paths
Few paths used as example to describe cgroupfs usage have been wrong from f6e07d38078e ("Documentation: update cgroupfs mount point") by mistake. This patch fix those trivial wrong paths. Signed-off-by: SeongJae Park <sj38.park@gmail.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/cgroups')
-rw-r--r--Documentation/cgroups/cgroups.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/cgroups/cgroups.txt b/Documentation/cgroups/cgroups.txt
index 10c949b293e4..f935fac1e73b 100644
--- a/Documentation/cgroups/cgroups.txt
+++ b/Documentation/cgroups/cgroups.txt
@@ -312,10 +312,10 @@ the "cpuset" cgroup subsystem, the steps are something like:
312 2) mkdir /sys/fs/cgroup/cpuset 312 2) mkdir /sys/fs/cgroup/cpuset
313 3) mount -t cgroup -ocpuset cpuset /sys/fs/cgroup/cpuset 313 3) mount -t cgroup -ocpuset cpuset /sys/fs/cgroup/cpuset
314 4) Create the new cgroup by doing mkdir's and write's (or echo's) in 314 4) Create the new cgroup by doing mkdir's and write's (or echo's) in
315 the /sys/fs/cgroup virtual file system. 315 the /sys/fs/cgroup/cpuset virtual file system.
316 5) Start a task that will be the "founding father" of the new job. 316 5) Start a task that will be the "founding father" of the new job.
317 6) Attach that task to the new cgroup by writing its PID to the 317 6) Attach that task to the new cgroup by writing its PID to the
318 /sys/fs/cgroup/cpuset/tasks file for that cgroup. 318 /sys/fs/cgroup/cpuset tasks file for that cgroup.
319 7) fork, exec or clone the job tasks from this founding father task. 319 7) fork, exec or clone the job tasks from this founding father task.
320 320
321For example, the following sequence of commands will setup a cgroup 321For example, the following sequence of commands will setup a cgroup